Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Filezilla Failed to retrieve directory listing error

Discussion in 'General Discussion' started by black-clover, Mar 5, 2019.

Tags:
  1. black-clover

    black-clover Member

    Joined:
    Nov 9, 2018
    Messages:
    6
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    mexico
    cPanel Access Level:
    Website Owner
    Hi,

    I'm having trouble connecting to my web server with Filezilla on a new Debian Linux machine.
    I have installed Filezilla and entered the correct datas which worked on my previous machine in the quickconnect window and got the following error:

    [removed]
    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 (162,221,191,43,255,182)
    Command: MLSD
    Error: Connection timed out after 20 seconds of inactivity
    Error: Failed to retrieve directory listing
    Status: Disconnected from server
    [removed]
    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 (162,221,191,43,228,172)
    Command: MLSD
    Error: Connection timed out after 20 seconds of inactivity
    Error: Failed to retrieve directory listing

    So, I downloaded the ftp .xml file from the cpanel and imported it to Filezilla (it says it is for Windows but cant see a Linux version), but got the same error.
    I have checked the datas in the ftp .xml file and are the same I enter manually.
    Tried several times and always get the same error.

    How can I troubleshoot this problem?
     
    #1 black-clover, Mar 5, 2019
    Last edited by a moderator: Mar 5, 2019
  2. GOT

    GOT Get Proactive! PartnerNOC

    Joined:
    Apr 8, 2003
    Messages:
    1,485
    Likes Received:
    187
    Trophy Points:
    193
    Location:
    Chesapeake, VA
    cPanel Access Level:
    DataCenter Provider
    I'm guessing you have a firewall like CSF installed. What you need to do is look in /etc/pure-ftpd.conf

    PassivePortRange 49152 65534

    That is the ports used for passive connections. So in the TCP_IN line of your /etc/csf/csf.conf, add 49152:65534 to the list of open ports.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelMichael likes this.
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,531
    Likes Received:
    2,181
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. black-clover

    black-clover Member

    Joined:
    Nov 9, 2018
    Messages:
    6
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    mexico
    cPanel Access Level:
    Website Owner
    Thanks for the feedback.
    However, I'm not using any firewall, so that shouldn't be the issue.
    The cpanel and server configuration are just as before, I assume the question is with Filezilla.
    But I might be wrong.
     
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,531
    Likes Received:
    2,181
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @black-clover,

    Your profile shows your access level as "Website Owner". Can you confirm if that's the case, or do you have root access to this server? If you have root access, feel free to open a support ticket so we can take a closer look at your system to see what's happening.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. black-clover

    black-clover Member

    Joined:
    Nov 9, 2018
    Messages:
    6
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    mexico
    cPanel Access Level:
    Website Owner
    I'm just awebsite owner, no root access.
    I'd be happy to provide you any data needed to help me solve the issue since I can't upload anything right now.
    Unfortunately I have no access to the machine I was using before, but it was preciselt the same system, Debian Testing and I had used the xlm file created by the cpanel and it worked fine.
     
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,531
    Likes Received:
    2,181
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    You'll need to report this problem to your web hosting provider, as it's the firewall rules/configuration on the server that we're referring to in the document linked in my earlier response. You won't be able to check the server's firewall configuration without root access.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. black-clover

    black-clover Member

    Joined:
    Nov 9, 2018
    Messages:
    6
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    mexico
    cPanel Access Level:
    Website Owner
    Ok, I'll ask the webmaster and let you know what they say.
     
    cPanelMichael likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice