Hi.
Check your local firewall and the server firewall and possibly the router firewall.
FTP has Passive and Active mode, each one of those uses different ports. For example, Active uses ports 20 and 21, while Passive uses 21 and 8000 (they will vary depending on configuration).
In my case, the symptons are: I could login but could not list a directory, I got the following responses:
Code:
227 Entering Passive Mode (nnn,nnn,nnn,nn,15,128).
425 Failed to establish connection.
Error: Failed to retrieve directory listing
Status: Connection closed by server
Then I disabled the firewall and tried again, this time everthing worked.
So, I configured the firewall to allow all the ports: 20, 21 and the range between pasv_min_port - pasv_max_port. Then enabled the firewall again, now I can connect ok.
- Note that if you have multiple FTP clients (for instance Filezilla, SmartFTP and command line FTP) you may have to configure each one to use Min an Max ports.
- If you have to configure the router, google the article from Filezilla wiki "Setting up your Router to Fix the 425 code".
I am a few years late, but it worked for me today and I'll leave this for future references. Hey, FTP was originally specified in the 1970's