Many Plesk user facing issue with FTP directory listing. When you want to connect to FTP through Filezilla, FTP site connect successfully but it fails at the directory listing stage. I will demonstrate how to resolve FTP Directory listing Problem on Plesk linux server.
This issue happens due to block of Passive port range.
Wait a minute! What is Passive FTP?
Well, FTP communication can be happen over 2 different type of connection, Active and Passive.
The following website explained it pretty clearly about Active FTP and Passive FTP: http://slacksite.com/other/ftp.html
How to solve the FTP Directory listing Problem
Step 1
Create a file ‘/etc/proftpd.d/passive_ports.conf’ contain the following line
# Use the IANA registered ephemeral port range PassivePorts 49152 65534
Step 2
Add firewall rule to “Tools & Settings > Firewall”
If the server is under NAT configuration, allow the following port range to the router as well
Step 2
Restart FTP service
# service xinetd restart
Congratulation’s! Now FTP site can be accessed without any issue. Thanks for using this tutorial to solve FTP Directory listing Problem on Plesk Linux.