FTP – 425 Can’t open data connection. (FileZilla)

ftp

I have a Windows 7 PC running FileZilla server. Then I have a PHP script on another server which connects to the FTP using ftp_connect.

This has been working absolutely fine for the past 4 months until yesterday, I started getting the following error:

Warning: ftp_login() expects parameter 1 to be resource, boolean given in blah.phpp on line 43

So I googled the error and found that this is the culprit:

425 Can't open data connection.

Here is the entire error log:

(000005)09/11/2011 09:40:47 – (not logged in) (myip)> Connected, sending welcome message…

(000005)09/11/2011 09:40:47 – (not logged in) (myip)> 220 Welcome to MY PC!

(000005)09/11/2011 09:40:47 – (not logged in) (myip)> USER vc

(000005)09/11/2011 09:40:47 – (not logged in) (myip)> 331 Password required for vc

(000005)09/11/2011 09:40:47 – (not logged in) (myip)> PASS *********

(000005)09/11/2011 09:40:47 – vc (myip)> 230 Logged on

(000005)09/11/2011 09:40:47 – vc (myip)> PWD

(000005)09/11/2011 09:40:47 – vc (myip)> 257 "/" is current directory.

(000005)09/11/2011 09:40:47 – vc (myip)> TYPE I

(000005)09/11/2011 09:40:47 – vc (myip)> 200 Type set to I

(000005)09/11/2011 09:40:47 – vc (myip)> PASV

(000005)09/11/2011 09:40:47 – vc (myip)> 227 Entering Passive Mode (192,168,1,5,217,112)

(000005)09/11/2011 09:40:47 – vc (myip)> MLSD

(000005)09/11/2011 09:40:58 – vc (myip)> 425 Can't open data connection.

(000005)09/11/2011 09:42:59 – vc (myip)> 421 Connection timed out.

(000005)09/11/2011 09:42:59 – vc (myip)> disconnected.

I've followed steps to reset my router but that didn't help. There has been absolutely change in the network settings between the time of it working and the first occurence of the problem. I also get the same error when connecting via an FTP client.

Best Answer

The problem was solved by changing from FileZilla Server to another FTP Server