Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Cannot connect to FTP
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Cannot connect to FTP

ChalipaChalipa Member

Hi,

I'm not able to connect to one of my vps via ftp (filezilla).

here is what i get:

Status: Resolving address of ftp.domain.com
Status: Connecting to 18*.***.***.***:21...
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Status: Logged in
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 ( - ip -)
Command: MLSD
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing
Status: Disconnected from server

any help would be appreciated to resolve this issue.

Comments

  • deankdeank Member, Troll
    edited April 2019

    Well, the errors say it can connect to the server but ftp service is not responding. I'd start from there. Like try restarting ftp service.

  • angstromangstrom Moderator
    edited April 2019

    It's also unclear whether the OP's ftp server was working as desired and then it suddenly stopped working as desired, or whether it was never working as desired to begin with (I suspect the latter).

    In any case, it looks like a question of setting up the ftp server properly (e.g., for allowing directory listings to be retrieved).

  • I have restarted the service multiple times, but still it's not listing files under passive mode

    [root@inferno ~]# grep ftpserver /var/cpanel/cpanel.config
    ftpserver=pure-ftpd
    [root@inferno ~]# service pure-ftpd restart
    Stopping pure-config.pl:
    Stopping pure-authd: 1 process (pure-authd) sent signal 9

    Starting pure-config.pl: Running: /usr/sbin/pure-ftpd --daemonize -A -c50 -B -C8 -D -E -fftp -H -I15 -lextauth:/var/run/ftpd.sock -L10000:8 -m4 -p49152:65534 -s -S21 -U133:022 -u100 -i -Oxferlog:/etc/apache2/logs/domlogs/ftpxferlog -k99 -Z -Y1 -JHIGH
    [ OK ]
    Starting pure-authd:

    cPanel license expired unfortunately at the moment.

  • try SFTP instead

  • @legalstuff said:
    try SFTP instead

    same issue :(

  • If you can't get a file listing via scp/sftp, then there's probably a problem with the filesystem.

  • t0mt0m Member

    Try to change passive mode to active mode in FileZilla settings.

  • dearroydearroy Member, Host Rep

    Try plain FTP.

  • Why not just use sftp? It works out of box.

  • dearroydearroy Member, Host Rep

    @Kiwi83 said:
    Why not just use sftp? It works out of box.

    OP said he tried SFTP already, same issue.

    So I guess it could be ISP related.

  • If you are on VPS and can login via SSH, SFTP will almost certainly work. It's another matter if you don't have SSH access.

    It sounds like a settings problem in PureFTP. I would advise SFTP for security reasons if you have SSH access. Sending information via plaintext these days is terrible practice.

  • nicheniche Member
    edited April 2019

    I am also getting time out errors in India, which ISP are you using

  • deankdeank Member, Troll
    edited April 2019

    His issue has nothing to do with yours.

  • @deank said:
    His issue has nothing to do with yours.

    RCI? It's more likely than you often think!

Sign In or Register to comment.