Recently I began to get the error message “Failed to retrieve directory listing” at the point where I tried to list the files in the directory on some of my hosting accounts:
Error: Connection timed out
Error: Failed to retrieve directory listing
Filezilla was working fine until I updated to version 220.127.116.11 so this was very frustrating. After contacting the support desk of my hosting account, we worked out that this was either a Mozilla configuration error or my firewall was blocking ftp access.
I had Zone Alarm Security Suite running on my XP partition & initially turning this off allowed me to list. However, after a couple of days, the problem cropped up again. Note that I had the same problem using Windows7, even after allowing Filezilla to communicate through the Windows Firewall.
To cut a long story short, after a lot of trying different settings, we found a fix that worked for my situation so I’m passing it on in case it may help others, too.
This is for Filezilla:
Go to Edit, then Settings
1.Click on Connection – FTP & Choose Active
2.Click on Connection – FTP – Active Mode & select “Ask your operating system for the external IP address”
3.Click on Connection – FTP – Passive Mode & Choose “Fall Back to Active Mode”
Now connect to your FTP site once again. This worked for me, as I got the result below:
Response: 150 Connecting to port 55410
Response:226-Options: -a -l
Response: 226 20 matches total
Status:Directory listing successful