Author Topic: can not login FTP  (Read 15121 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
can not login FTP
« 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?

Offline
**
https://www.24x7servermanagement.com/
Server Management, Server Security, Server Monitoring.
India's Leading Managed Service Provider !!

Offline
*
Re: can not login FTP
« Reply #2 on: November 12, 2018, 02:44:39 PM »
try with other FTP like Zilla, CuteFtp

Offline
**
Re: can not login FTP
« Reply #3 on: November 13, 2018, 12:28:25 PM »
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.

Offline
*
Re: can not login FTP
« Reply #4 on: December 07, 2018, 06:06:51 PM »
I'm having the same problem and changing password or creating a new user account doesn't fix it!

Offline
*
Re: can not login FTP
« Reply #5 on: September 12, 2019, 08:58:12 AM »
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.