Hi
I use a batch file to upload a 1.5 meg file to a server.
It connects fine but I get a 'timed out' error as below;
230 User xxxxxxxxxxxx logged in
ftp> binary
---> TYPE I
200 Type set to I
ftp> put "c:\temp\xyz.zip"
---> PORT 41,241,45,1,209,98
200 PORT command successful
---> STOR xyz.zip
525 Unable to build data connection: Connection timed out
ftp> bye
---> QUIT
221 Goodbye.
Any idea what can be wrong. I can upload perfectly with FileZilla !!! but want to use a batch file.
Regards
Time out when uploading
Moderator: DosItHelp
Re: Time out when uploading
Try using PASSIVE ftp transfer mode.
I'm not sure but the active mode may not work because the FTP ports (20/21) aren't forwarded to your computer's IP address in the modem/router. Just a guess.
I'm not sure but the active mode may not work because the FTP ports (20/21) aren't forwarded to your computer's IP address in the modem/router. Just a guess.