• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Resolved Failed to retrieve directory listing

DamianDC

New Pleskian
Hi,

Initially I was able to connect via FTP. Then all of a sudden I started getting 550 SSL/TLS required on the control channel. Why did it suddenly required SSL/TLS when I did not do anything extra?

Now when I'm trying to connect via FTPES using FileZilla (tried both active and passive) on Linux Mint Debian, I'm getting the error below. I'm really stumped. I have tried to Allow incoming from all on port 49152-65534/tcp via Plesk firewall, but still no go.

The worst thing now is, I can't even get FTP to work anymore. Of course I would prefer to have TLS working. Any ideas?

Status: Connection established, waiting for welcome message...
Response: 220 ProFTPD 1.3.5 Server (ProFTPD) [206.106.213.243]
Command: AUTH TLS
Response: 234 AUTH TLS successful
Status: Initializing TLS...
Status: Verifying certificate...
Command: USER jbob
Status: TLS/SSL connection established.
Response: 331 Password required for jbob
Command: PASS *************
Response: 230 User jbob logged in
Command: OPTS UTF8 ON
Response: 200 UTF8 set to on
Command: PBSZ 0
Response: 200 PBSZ 0 successful
Command: PROT P
Response: 200 Protection set to Private
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is the current directory
Command: TYPE I
Response: 200 Type set to I
Command: PORT 192,168,0,103,159,241
Response: 200 PORT command successful
Command: MLSD
Error: Connection timed out
Error: Failed to retrieve directory listing
 
I figured it out.

In /etc/proftpd.conf I added the following line:

# Use the IANA registered ephemeral port range
PassivePorts start-port end-port

Example:
# Use the IANA registered ephemeral port range
PassivePorts 20000 25000

Then in Plesk Firwall I created a custom rule with the above port range.

In FileZilla I used Passive mode.
 
Back
Top