FTP data transfer question

TiziteLayinLow

Senior member
Aug 18, 2003
493
0
0
i have a ftp server running and when i try to access it from DOS or linux console.. it connects with user/pw and then i do .. "put".. it asks for local file ( i give full path ).. and then it asks for remote path.. and i just put "test.php" to store it in the current directory.. and it tries to send and it then says ..

"425 Cannot open data connection"

I have tried in ascii and binary with no luck.. any suggestions?

thanks
 

Sunner

Elite Member
Oct 9, 1999
11,641
0
76
Try using passive FTP.
Don't know if Windows CLI ftp sopports passive mode though.
 

Sunner

Elite Member
Oct 9, 1999
11,641
0
76
Sounds like a passive/active problem, FTP is an ancient protocol that wasn't written with firewalls in mind.
Under Linux regular CLI ftp, just type "passive" and it should say something like:
sunner@litovel:~$ ftp
ftp> passive
Passive mode on.
ftp>