Caution:
This post was published in 2015 and may contain information, techniques or code examples that are no longer current. Please double-check official documentation and modern best practices before using anything from this article.
This post was published in 2015 and may contain information, techniques or code examples that are no longer current. Please double-check official documentation and modern best practices before using anything from this article.
If you’re having issues connecting to a server via FTPS in phpStorm I found that the magic combination for PHP Storm and FTP-SSL connections is…
- Type: FTPS
- SSL: Explicit
- Passive Mode: On
- Protected data channel:
In particular the Protected data channel was set to “PRTO C” by default on my install and it was that causing the bother.
Error Message:
[23/11/2015 12:13] Failed to transfer file 'C:\web\htdocs\ •••••\••••••••••••\test.txt': cant open output connection for file "ftps://•••.•••.•••.•••/test.txt". Reason: "500 I won't open a connection to 192.•••.•••.••• (only to 81.•••.•••.•••)".
Solution
See also: JetBrains PHP Storm: Creating a remote server configuration