phpStorm 7.1上的Ftp上传问题。

时间:2022-11-04 08:01:50

Edit: It seems that after the last update this issue is no longer present, at least so far

编辑:似乎在上次更新之后,这个问题已经不再存在了,至少到目前为止。


Whenever i try to upload a file i get a combination of the following errors and success at upload time.

每当我尝试上传一个文件时,我就会在上传时得到以下错误和成功的组合。

[5/20/14 7:20 PM] Upload to ***
[5/20/14 7:20 PM] Failed to transfer file 'C:\wamp\www\***\wp-content\plugins\woocommerce\includes\class-wc-api.php': could not create FTP directory "ftp://ftp.***.com/woocommerce".


[5/20/14 7:21 PM] Upload to ***
[5/20/14 7:21 PM] Upload to *** completed in less than a minute: 1 file transferred (3.7 Kb/s)


[5/20/14 7:21 PM] Upload to ***
[5/20/14 7:22 PM] Failed to transfer file 'C:\wamp\www\***\wp-content\plugins\paymentez-wooc-gateway\index.php': could not close the output stream for file "ftp://ftp.***.com/paymentez-wooc-gateway/index.php".

phpStorm 7.1上的Ftp上传问题。

I've disabled my firewall, and no luck, i've tried passive mode in the ftp and same problem, i can upload the same files and folders using filezilla on the same ftp account so i assume the problem is in phpstorm, not sure if it is a bug or a missconfiguration on my part. I have this issue on other websites hosted in different servers, and i'm not quite sure but i don't recall having this issue under windows 7, now i'm under windows 8.

我禁用防火墙,没有运气,我试着被动模式在ftp和同样的问题,我可以上传文件和文件夹相同的ftp帐户上使用filezilla phpstorm所以我认为现在的问题是,不知道这是一个错误或missconfiguration在我的部分。我在不同服务器上的其他网站上有这个问题,我不太确定,但我不记得在windows 7下有这个问题,现在我在windows 8下。

Sometimes it uploads ok, and most of the time it fails.

有时它会上传ok,大多数情况下会失败。

Any thoughts are highly appreciated, thanks.

非常感谢您的任何想法。

3 个解决方案

#1


24  

I notice I have this issue in my phpstorm if I have another ftp client connected to same server so what I actually did is to close my ftp client filezilla and then start working correctly .....

我注意到我在phpstorm中有这个问题如果我有另一个ftp客户端连接到同一个服务器我实际上做的是关闭我的ftp客户端filezilla然后开始正常工作…

Another option is to set FTP on "passive mode" from Deployment=>Selected server=>Advanced Options.

另一种选择是将FTP设置为“被动模式”,从部署=>选择服务器=>高级选项。

#2


2  

In my case server's partition was full. Try to check size of partition by typing in bash:

在我的情况下,服务器的分区是满的。尝试通过在bash中键入来检查分区大小:

df

df

Then make some space, by removing files with rm or moving mv files to another partition.

然后通过删除rm文件或将mv文件移动到另一个分区,从而获得一些空间。

Apart of that I could successfully transfer my files through the FileZilla but not with PHPStorm automatic deployment upload (weird).

除此之外,我还可以成功地通过FileZilla传输文件,而不是通过PHPStorm自动部署上传(怪异)。

#3


0  

I had accidentally pasted in the Deployment path on server with a space in the path. Removing that remedied things.

我意外地在服务器上的部署路径上粘贴了一条路径。删除,补救的事情。

#1


24  

I notice I have this issue in my phpstorm if I have another ftp client connected to same server so what I actually did is to close my ftp client filezilla and then start working correctly .....

我注意到我在phpstorm中有这个问题如果我有另一个ftp客户端连接到同一个服务器我实际上做的是关闭我的ftp客户端filezilla然后开始正常工作…

Another option is to set FTP on "passive mode" from Deployment=>Selected server=>Advanced Options.

另一种选择是将FTP设置为“被动模式”,从部署=>选择服务器=>高级选项。

#2


2  

In my case server's partition was full. Try to check size of partition by typing in bash:

在我的情况下,服务器的分区是满的。尝试通过在bash中键入来检查分区大小:

df

df

Then make some space, by removing files with rm or moving mv files to another partition.

然后通过删除rm文件或将mv文件移动到另一个分区,从而获得一些空间。

Apart of that I could successfully transfer my files through the FileZilla but not with PHPStorm automatic deployment upload (weird).

除此之外,我还可以成功地通过FileZilla传输文件,而不是通过PHPStorm自动部署上传(怪异)。

#3


0  

I had accidentally pasted in the Deployment path on server with a space in the path. Removing that remedied things.

我意外地在服务器上的部署路径上粘贴了一条路径。删除,补救的事情。