PhpStorm 2017.1.3 Passive Mode

2.2k Views Asked by At

I'm using PhpStorm to edit files on a live server. When I try to upload the file it tells me "could not close the output stream for file". Note that I'm using "SFTP" ..

Some suggesting that using "passive mode" will solve the issue, but I can't find the settings when I go to: (Tools=>Deployment=>Configuration=>Advanced settings) as suggested!!

Is it even possible to use passive mode with SFTP!?

2

There are 2 best solutions below

0
On BEST ANSWER

Passive Mode isn't available for SFTP. This option is only available for FTP and FTPS. https://www.jetbrains.com/help/phpstorm/2017.1/advanced-options-dialog.html

advanced options in comparison enter image description here

0
On

It could be a PhpStorm/jsch issue: https://youtrack.jetbrains.com/issue/WI-17685. Please reproduce the issue, open Help > Show Log in ... > idea.log and look for errors. If you'll see the same messages as in aforementioned WI-17685 then you got it.