Lu Roman
Lu Roman

Reputation: 2260

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

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.

Upvotes: 15

Views: 14464

Answers (6)

Meysam Jafari
Meysam Jafari

Reputation: 65

in deployment/connection change type to "ftps".

Upvotes: 3

CodesmithX
CodesmithX

Reputation: 274

My solution was to simply change to a faster Internet connection.

Upvotes: -5

Chris
Chris

Reputation: 45

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.

Upvotes: 3

BrianHenryIE
BrianHenryIE

Reputation: 559

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

Upvotes: 1

maszynka
maszynka

Reputation: 306

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

Upvotes: 7

Softmixt
Softmixt

Reputation: 1756

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.

Upvotes: 34

Related Questions