Syntax: put <clientfile> [to] [<serverfile>] [append | askuser | cancel | overwrite | skip | unique]
The PUT command transfers a file from the PC to the server.
Wildcards are not supported with the PUT command; to transfer multiple files using wildcards, use MPUT.
A variety of site-specific SET parameters can affect the transfer operation. Click here for more information.
The following example transfers the file Memo.doc from the PC to the server:
This example transfers the file HAPPY.ME from a PC to a VAX/VMS FTP server, giving the VMS file the name HAPPY.BIRTHDAY:
PUT HAPPY.ME TO HAPPY.BIRTHDAY
See ABORT-ON-ERROR Script Sample for an additional example.