Control Web Panel
WebPanel => FTP => Topic started by: gailclark80 on January 24, 2018, 03:24:07 AM
-
My FTP often have such a problem.
Response: 331 User ****** OK. Password required
Command: PASS *********
Response: 230 OK. Current restricted directory is /
Status: Server does not support non-ASCII characters.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is your current location
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (*******)
Command: MLSD
Error: Connection timed out
Error: Failed to retrieve directory listing
Please tell me how to fix this problem?
-
Did you try these fixes?
https://stackoverflow.com/questions/24566692/filezilla-ftp-server-fails-to-retrieve-directory-listing (https://stackoverflow.com/questions/24566692/filezilla-ftp-server-fails-to-retrieve-directory-listing)
-
try with other FTP like Zilla, CuteFtp
-
That's the problem with FTP server itself, that has nothing to do with FileZila (even some different versions eg. older one will work fine, but changing FileZila is not fix for poor/incorrect FTP server configuration).
I fixed it on my server, but I can't remember what problem was cause it was a long time ago.
-
I'm having the same problem and changing password or creating a new user account doesn't fix it!
-
Hi,
For those who encounter such issues, you need to open FTP port range for passive connections from the CSF config file. Find your FTP config file, for example pure-ftpd will be /etc/pure-ftpd/pure-ftpd.conf, and search for PassivePortRange. Set it to something like this:
PassivePortRange 30000 30050
Restart the ftp server. Then go to /etc/csf/csf.conf and find 'Allow incoming TCP ports'. Add 30000:30050 at the end of the TCP_IN line, save the changes and restart csf. Now the connection should work.