I am having some issues with a dos file we run over night that sends some files to another companies ftp server, The other company has checked their logs and we are connecting and are able to log in but no files are ever transferred. I was wondering if there was a difference between using the put command vs the send command. Do newer or older systems not support one or the other?
Use the put command to upload files to Supply Chain Business Network. Use the Multiple Put ( mput ) command with the wildcard character ( * ) to upload multiple files. Some FTP clients require you to manually acknowledge each file name when executing the mput command.
The following FTP Command will change the directory on the remote system and display the following message. ftp> cd /web 250 CWD command successful. ftp. The following FTP Command will find out the pathname of the current directory on the remote system and display the information.
Syntax FTP [-options] [-s:filename] [-w:buffer] [host] key -s:filename Run a text file containing FTP commands. host Host name or IP address of the remote host. -g Disable filename wildcards. -n No auto-login.
Linux's man page for ftp
says that send
is "a synonym for put". And MS's docs for their command-line client say that "The send command is identical to the put command".
Now, an FTP client is kinda free to do whatever it likes. It's the FTP protocol that's standardized; the command-line interface, not so much. (It's not even necessary that a client have a command-line interface; most GUI clients don't.) But for compatibility's sake, most clients that have a command-line interface tend to agree on most of the common commands. And the server doesn't know or care what command you typed in to send the file anyway; as long as it sees a STOR
(the protocol-level command to send a file), assuming everything else works, the file will be transferred.
Seems like your problem is somewhere in the "everything else".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With