Syntax: put <clientfile> [to] [<serverfile>] [append | askuser | cancel | overwrite | skip | unique]
FTP Command Index SFTP Command Index
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.
Before using the PUT command, if necessary, use the ASCII, BINARY, TENEX, or SMART command to override the default file transfer method setting specified on the Tools menu.
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.