How to Resolve FTP "Failed to retrieve directory listing"?
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 126.96.36.199: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: Retrieving directory listing...
Response: 257 "/" is your current location
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Response: 227 Entering Passive Mode (11,234,234,234,167,111)
Error: Connection timed out
Error: Failed to retrieve directory listing
You have to make minor configuration modifications in your FileZilla settings.
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.
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”
That’s it – save the modifications by clicking “OK” and connect to your server!