We use cookies to improve our services and provide a better experience. By continuing to use this site, you agree with our Cookies Policy.

Tutorials

More than 400 step-by-step articles to guide you through online project development.
HomeTutorialsOperating SystemsLinuxAdministration

How to Resolve FTP "Failed to retrieve directory listing"?

Brazil VPS

FileZilla is using FTP over TLS encryption method by default, but not all the servers support this encryption method.
If you are getting “Failed to retrieve directory listing” error, as such:

Status: Resolving address of ftp.mywebsitename.org
Status: Connecting to 234.234.234.234:21...
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
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 (11,234,234,234,167,111)
Command: MLSD
Error: Connection timed out
Error: Failed to retrieve directory listing

You have to make minor configuration modifications in your FileZilla settings.

Follow These Steps to Resolve FTP “Failed to retrieve directory listing”

Change encryption method for the connections to your server. To do so, go to Site Manager in FileZilla (File Site Manager) and change encryption type to “Only use plain FTP” under General tab.

ftp-resolve-screenshot-1

You need to change “Transfer mode” in your FileZilla configuration. To change it, go to Site Manager (File > Site Manager), click on “Transfer Settings” tab and change Transfer mode to “Active

ftp-resolve-screenshot-2

That’s it – save the modifications by clicking “OK” and connect to your server!

Brazil VPS
Rate this Tutorial:
No Comments

Other (3)

Popular Keywords