FTPdirs - cannot access via ftp protocol

Discussion in 'LiquidFiles General' started by Robert S. Clayton II, Sep 5, 2017.

  1. Robert S. Clayton II

    Joined:
    Aug 26, 2017
    Messages:
    3
    Likes Received:
    0
    I have FTPdirs enabled and configured. I can access them via SFTP using SCP, but when I try to access them via FTP I get connected, but the connection times out before I get a directory listing. See FTP log messages below;


    Status: Connecting to 192.168.100.245: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 the current directory

    Command: TYPE I

    Response: 200 Type set to I

    Command: PASV

    Response: 227 Entering Passive Mode (108,52,241,130,172,6).

    Command: MLSD

    Error: The data connection could not be established: ETIMEDOUT - Connection attempt timed out

    Error: Connection timed out after 60 seconds of inactivity

    Error: Failed to retrieve directory listing
     
  2. David

    David Administrator
    Staff Member

    Joined:
    Dec 1, 2015
    Messages:
    781
    Likes Received:
    31
    If I sum it up, for this FTPS transfers there are 2 common things to watch out
    1) If your Firewall did not intercept the FTP command and rewrite the port command with the external IP address
    then make sure the Masquerade IP address of that FW is filed in "Admin > System > Network > FTP Masquerade" settings. This address will be then returned to the FTP client.
    2) As next make sure there are allowed higher ports from the range <44000-44100> on your FW for LF server,
    when the FTP client negotiates a passive data transfer.
     

Share This Page