• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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