cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

FTP error: Failed to retrieve directory listing

I am using FileZilla pro on a Mac (all the latest software versions).

I am trying to set up a user that can only access one specific folder by FTP in  my PublicHTML.

I've tried ever combination I can think of and while I do make the connection, I time out while trying to retrieve directory listing. The following is the complete transaction record.

Status:       Resolving address of ftp.yppg-gppj.com
Status:       Connecting to 107.180.55.9: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 (107,180,55,9,197,215)
Command: MLSD
Error:         Connection timed out after 20 seconds of inactivity
Error:         Failed to retrieve directory listing
Status:       Disconnected from server
Status:       Resolving address of ftp.yppg-gppj.com
Status:       Connecting to 107.180.55.9: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 (107,180,55,9,197,14)
Command: MLSD
Error:         Connection timed out after 20 seconds of inactivity
Error:         Failed to retrieve directory listing
Any suggestions would be appreciated. ...Mark
 
2 REPLIES 2
Super User II
Super User II

Re: FTP error: Failed to retrieve directory listing

Hello You can easily fix this error by going into the site manager and adjusting your connection details to use plain FTP. Follow these steps to fix the problem:

  1. In FileZilla, click on “File” menu and choose “Site Manager”
  2. Add the site or server you want to connect to if it’s not already in site manager.
    1. Add hostname
    2. change encryption to “only use plain FTP”
    3. Change logon type "Normal"
    4. Enter username/password.
    5. Ok/Connect to continue

If the problem still persists, please disable your firewall then try once more! If it still fails,  here is what you need to do:

  • Open Filezilla, go to Edit -> Settings
  • Click on Connection -> FTP: Choose Active
  • Click on Connection -> FTP -> Active Mode: Select "Ask your operating system for the external IP address"
  • Click on Connection -> FTP -> Passive Mode: Choose Fall Back to Active Mode
  • Press OK.

Try connecting to your FTP again!

Zulfiqar Anees | GoDaddy Pro | Founder/CEO at FastTech Media, TechMag, and ZulWeb.

Re: FTP error: Failed to retrieve directory listing

Thanks for responding Zulfiqar,

I tried all the suggestions with no change. I set Active as the default Transfer Setting and that moved things farther down the road. At least now the directory icons are displaying in the remote directory window but still no directory listing. The error message now also shows "Could not open data connection to port 52145: No route to host".

 

Status:      Disconnected from server

Status:      Resolving address of ftp.yppg-gppj.com

Status:      Connecting to 107.180.55.9:21...

Status:      Connection established, waiting for welcome message...

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: PORT 192,168,0,12,203,177

Response: 200 PORT command successful

Command: MLSD

Response: 425 Could not open data connection to port 52145: No route to host

Error:        Failed to retrieve directory listing

 

Any ideas? Mark