PHPStorm-无效的后代文件名 [英] PHPStorm - Invalid descendent file name

查看:126
本文介绍了PHPStorm-无效的后代文件名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将Windows 7 PC中的本地PHPStorm项目与Ubuntu服务器进行同步.

I'm attempting to sync my local PHPStorm project from my Windows 7 PC with my Ubuntu server.

当我尝试任何类型的连接(例如测试SFTP连接")时,都会失败,并显示

When I try any kind of connection (e.g. "Test SFTP connection"), it fails with

Invalid descendent file name "C:\nppdf32Log\debuglog.txt"

提到的文件夹在我的Windows机器上不存在,当然也不在我的Ubuntu服务器上.

the folder mentioned doesn't exist on my Windows machine, and of course not on my Ubuntu server.

由于这个原因,即使最基本的连接到Ubuntu服务器的操作都失败了-Jetbrains支持建议在此处询问,那么有人有线索吗?

Even the most basic operation connecting to the Ubuntu server is failing because of this - Jetbrains support suggested asking here, so does anyone have a clue?

推荐答案

您在Ubuntu服务器上有一个具有C:\nppdf32Log\debuglog.txt名称的文件.是-在Ubuntu上,是-实际上是文件名,而不是完整路径(Linux允许在文件名中使用:\字符).

You have a file on your Ubuntu server with that C:\nppdf32Log\debuglog.txt name. YES -- it's on Ubuntu and YES -- it's actually a file name and not full path (Linux allows : and \ characters in file names).

不幸的是,这样的文件名在Windows上无效,并且PhpStorm中用于SFTP通信的库不允许以任何方式处理此类文件(是的,它作为完整路径有效,而对于单独的文件名).

Unfortunately such file name is invalid on Windows and library used for SFTP communications in PhpStorm does not allow to process such files in any way (yes, it's valid as full path but not as file name alone).

解决方案是使用其他程序(例如FileZilla)连接到您的SFTP并删除该文件.之后,您将可以继续使用PhpStorm内置的SFTP功能.

The solution is to connect to your SFTP using another program (e.g. FileZilla) and delete that file. After that you will be able to continue with PhpStorm built-in SFTP functionality.

P.S.
此类文件通常是由Linux上的Firefox创建的(有关该文件的更多信息,请谷歌使用该文件名).

P.S.
Such file is usually created by Firefox on Linux (google that file name for additional details).

https://askubuntu.com/questions/144408/what -is-the-file-c-nppdf32log-debuglog-txt

Jetbrains支持建议在此处询问

Jetbrains support suggested asking here

这很奇怪(我很难相信)-他们应该确定知道这样的问题-您并非首先遇到相同错误的人.

That's odd (and hard to believe for me) -- they should know about such issue for sure -- you are not first who is facing the same error.

在任何情况下-这都是值得关注的门票-希望使用的库(用于SFTP通信)将来可以更好地处理这种情况.

In any case -- this is the ticket to watch after -- hopefully the used library (for SFTP communications) will allow handling such situations better in the future.

http://youtrack.jetbrains.com/issue/WI-2449

这篇关于PHPStorm-无效的后代文件名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆