New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

FTP Server Error: (Error in "MLSD" command While Connecting FTP to Server)

Started by Administrator, December 22, 2013, 11:02:25 PM

Previous topic - Next topic

Administrator

This are instructions for ProFTPd, CWP dose not use ProFTPd anymore


FTP Server Error: (Error in "MLSD" command While Connecting FTP to Server)

example:

Command: PASV
Response: 227 Entering Passive Mode (SERVER_IP,235,240).
Command: MLSD


This is CSF firewall blocking passive ports and you need to whitelist your ip or change some settings

You need to add passive ports in yours ProFTPd config: /etc/proftpd.conf
PassivePorts 30000 35000

in CWP go to Security --> CSF Firewall ==> Firewall Configuration
Under TCP_IN at end of the line add port range for FTP passive ports like: ,30000:35000

example of allowed tcp passive ports from: 30000:35000
# Allow incoming TCP ports
TCP_IN = "20,21,22,25,53,80,110,143,443,465,587,993,995,2030,30000:35000"


now restart CSF firewall and you are ready to go.

More detailed info from CSF website
http://www.configserver.com/techfaq/faqlist.php?catid=6&faqid=67