Question : FTP 425 Can't open data connection.

Im trying to make an FTP connection using Filezilla. On both the client and Server side I am
using Filezilla. The Server is running Server 2003. The firewall in the router is dropped. The
router is a wrt54G running DD-wrt. Ports 21 and (1024-10000) are forwarded to the Server. I
plan to use a range of 6000  6100 once I get this working.  Using Filezilla server 0.9.32

On the client side I am running Server 2003 and the router is a Buffalo also running dd-wrt. Its
hardware firewall is dropped. Ports 20,21 and (1024-10000) are forwarded to it. The ISP is
roadrunner on Time Warner (both ends) and from I can tell they dont block anything. Using
Filezilla client 3.2.7.1

Im pulling my hair out over this!  No documentation I can find, other than the obnoxious Read
the  Network Configuration Guide., even points me in the right direction. The Network config
guide just says to throw away all routers. Yeah right.

I get this error with multiple clients.

Status:      Connecting to 72.177.104.111:21...
Status:      Connection established, waiting for welcome message...
Response:      220-FileZilla Server version 0.9.32 beta
Response:      220-written by Tim Kosse ([email protected])
Response:      220 Please visit http://sourceforge.net/projects/filezilla/
Command:      USER tholen
Response:      331 Password required for tholen
Command:      PASS ******
Response:      230 Logged on
Status:      Connected
Status:      Retrieving directory listing...
Command:      PWD
Response:      257 "/" is current directory.
Command:      TYPE I
Response:      200 Type set to I
Command:      PASV
Response:      227 Entering Passive Mode (72,177,104,111,23,146)
Command:      MLSD
Response:      425 Can't open data connection.
Error:      Failed to retrieve directory listing
Response:      421 Connection timed out.
Error:      Connection closed by server

On the client side when I run the firewall and router config wizard I fail with the following:
Response: 150 opening data connection
Response: 503 Failure of data connection.
Server sent unexpected reply.
Connection closed

I have attached screen dumps of the wizard setup

Answer : FTP 425 Can't open data connection.

when using FTP you can't specify the drive letter.  On the ftp server you need to setup a virtual directory that points to the real location and then just cd to the name of the virtual directory.

So you might setup c:\backups\tholen with a virtual name of \backups4tholen  then you would issue the command:

   cd \backups4tholen

and the ftp server will put you is the correct directory.  ftp was developed in environments (unix based or unix like) that don't have drive letters, that's why you can specify them.

As for the other problem where you could not estiblish a data connect, if it is still occurring then you need to make sure that your firewalls are ftp aware or on the firewall protecting the ftp server you have to allow all high ports (>1023) inbound to the port range 6,000 - 6,100 (the range your ftp server is using for passive data connections).
Random Solutions  
 
programming4us programming4us