Control Web Panel
WebPanel => FTP => Topic started by: Administrator on December 22, 2013, 11:02:25 PM
-
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