Ftp uploading issues on phpStorm 7.1

Lu Roman picture Lu Roman · May 21, 2014 · Viewed 10.5k times · Source

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

Console ss, showing ide errors on ftp upload

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.

Answer

Softmixt picture Softmixt · Jan 19, 2015

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.