简体   繁体   中英

Ftp uploading issues on phpStorm 7.1

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".

控制台 ss,在 ftp 上传时显示 ide 错误

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.

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

Any thoughts are highly appreciated, thanks.

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 .....

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

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

df

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

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

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

So after hours of trying i have a solution. I am using sftp which is different than ftp a bit. However for me it was that my server's storage was almost full and denied packets to be sent there. I increased the size of the hard drive and allocated the amount of the increased size.

在部署/连接中将类型更改为“ftps”。

我的解决方案是简单地更改为更快的 Internet 连接。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM