PHP Storm and making FTP connections with SSL (FTPS)

Posted in Notes on 24 November 2015

This post has been archived

The content of this post has not been updated since 2015, and may be out of date. Extra care should be taken with any code provided.

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

Related Notes

December 2024

Simple Analytics: A privacy-focused alternative to Google Analytics

In an era where digital privacy concerns are at the forefront of online discourse, many organisations are reassessing their tools to ensure compliance with data...

Continue reading

November 2024

Simple steps to protect your privacy online

In today’s digital world, protecting your privacy online has become essential. With personal data constantly being shared, stored, and potentially accessed by unauthorised parties, safeguarding...

Continue reading

November 2024

Introduction to Bluesky

Making the most of Bluesky after coming from whatever Twitter (𝕏) has become involves exploring the platform's unique features, adapting to its smaller, community-driven culture,...

Continue reading

November 2024

Web application security testing

With the increasing dependency on web applications in daily operations, securing these applications is paramount to safeguarding data and protecting against breaches. This blog post...

Continue reading

October 2024

Cookieless website tracking and analytics

Cookieless website tracking is a method of collecting analytics data and monitoring website behaviour without the need for traditional browser cookies. Traditionally, cookies have been...

Continue reading

October 2024

What's going on between WordPress and WP Engine?

The disagreement between WordPress and WP Engine has sparked considerable debate within the WordPress community and could have important implications for users of the WordPress...

Continue reading

More Notes Posts