Someone, please help. A client of ours has an ftp server set up to listen on port 2525 and we are trying to set up an automated posting to this server. We have no problem using FileZilla doing the post manually, but when we try to post using the command line ftp with a batch file, it fails...the batch file is as follows:
When run from a command line, the response is:
ftp> open ftp.hostname.com
Connected to ftp.hostname.com
220 ProFTPD 1.3.3c Server (hostname) [220.127.116.11]
331 Password required for ftp_user
230 User ftp_user logged in
ftp> cd import
250 CWD command successful
200 Type set to I
ftp> put \send\filename.txt.pgp
500 Illegal PORT command
425 Unable to build data connection: Connection refused
and we end up with a zero-length file on the server...the file is created but the contents are not transferred.
I've tried using other command line apps and get the same result...psftp, winscp, moveit all failed.
Anyone have any ideas??