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

php-storm-ftps-ftp-ssl-settings

See also: JetBrains PHP Storm: Creating a remote server configuration

Hello, I'm Keith, a website developer in Belfast, Northern Ireland working with PHP, Magento, Shopify and WordPress.

I've been building websites for over 10 years, from custom website development to bespoke web applications, Shopify and Magento ecommerce and Online Leaning Environments. I've worked on a range of projects and am always looking out for the next interesting project.

Related Notes Posts

Redirects

Apache, Nginx, PHP, JavaScript and Meta redirects There are two main redirect options **301** for a permanent redirect. Use this when the redirect is pointing... October 2022 · Notes

Spam Investigation Toolkit

Tools to help identify and engage spammers. I'm often asked what tools are best to use to identify spammers, there are plenty of free tools... October 2022 · Notes · Spam

Lighthouse and Google Fonts

I recently had performance issues on Google Lighthouse due to the fonts used on the website. The Google Fonts I used were classified as a... July 2022 · Notes

More Notes Posts...