Fix for Filezilla Failing to Retrieve Directory Listing
I use Filezilla FTP client to manage files on many servers. I had a
specific Filezilla client that refused to retrieve a directory listing.
Other computers could connect to the same server just fine. Thusly I
knew it was a client configuration problem.
I ended up with messages like this:
Response: 200 PORT command successful. Consider using PASV.
Error: Connection timed out
Error: Failed to retrieve directory listing
I ran the Filezilla configuration wizard to diagnose the problem. The
configuration wizard utility ran for a while reporting success until
the very end. After timing out, I received the following messages:
Response: 200 PORT command successful
Response: 150 opening data connection
Response: 503 Failure of data connection.
Server sent invalid reply.
Searching the Internet led to not so helpful posts such as "Please read the Network Configuration guide.".
After analyzing the situation, it turns out the solution isn’t so
obvious. My Client had the default setting of Connection -> FTP
-> Active Mode: Get External IP Address From This URL. Which pointed
. This is the source of the problem. If you go to that URL, you will
probably get a result of 127.0.0.1. If the Filezilla client needs the
external address, and is given 127.0.0.1, then there will be problems
If you have a similar problem with Filezilla, and the problem persists
even when the Windows Firewall is disabled, 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 site once again. Works!
Solve!! ftp passive mode error