Fix for Filezilla Failing to Retrieve Directory Listing

Posted: สิงหาคม 2, 2008 in ไม่มีหมวดหมู่

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.
Command: LIST
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
LIST
Response: 150 opening data connection
Response: 503 Failure of data connection.
Server sent invalid reply.
Connection closed

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
to http://ip.filezilla-project.org/ip.php
. 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
indeed!

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!

Reference:
http://www.nodans.com/index.cfm/2008/4/24/Fix-for-Filezilla-Failing-to-Retrieve-Directory-Listing

Update:
Solve!! ftp passive mode error
http://mirindafanta.spaces.live.com/blog/cns!3E3DA667A88932E3!322.entry

Advertisements
ความเห็น
  1. Colin พูดว่า:

    Thanks, that fixed my problem, funny that filezilla was working on my other computer and was on this one, just stopped today..cheers Colin

  2. Brett พูดว่า:

    I\’m a server administrator and after changing over to FTPES I also had many of my clients complaining that they couldn\’t connect using FileZillaSince currently FileZilla and FireFTP are the only 2 free FTPES/FTPS (secure) ftp clients worth using, I had no other option but to solve this problem fully for my clients if I wanted our servers to be secure. I found that this had nothing to do with FileZilla nor my clients PC or network firewalls. Instead it required extra configuration and setup of our pure-ftpd servers. It is explained fully in this article:http://www.theserverpages.com/articles/servers/cpanel/tweaks/Getting_passive_FTP_connections_to_work_through_a_firewall_properly.htmlBasically the server needs to have a passive ftp port range opened in its own firewall and then pureftpd also needs to be configured to use this passive port range. Once we made this configuration change on our servers Filezilla began working for everyone in secure FTPES mode.

  3. Johne986 พูดว่า:

    Hey, thanks for the blog article.Really looking forward to read more. Much obliged. bkceeabadgdg

ใส่ความเห็น

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / เปลี่ยนแปลง )

Twitter picture

You are commenting using your Twitter account. Log Out / เปลี่ยนแปลง )

Facebook photo

You are commenting using your Facebook account. Log Out / เปลี่ยนแปลง )

Google+ photo

You are commenting using your Google+ account. Log Out / เปลี่ยนแปลง )

Connecting to %s