Syntax: mput <pc filespec> [to] [<server filespec>] [append | askuser | cancel | overwrite | skip | unique]
FTP Command Index SFTP Command Index
The MPUT command transfers one or more files matching the given filespec from the PC to the FTP server. You can use wildcards to transfer multiple files.
Note: The Reflection client supports MPUT in SFTP sessions, however you should test transfers that use wildcard characters because the SFTP server may not interpret wildcard specifications correctly.
Before using the MPUT 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 files in the Meeting Notes folder within the current folder on the PC that have a .Doc extension , placing the files in the current server folder. Source PC files that have the same name as files in the destination server folder are not transferred.
MPUT "Meeting Notes\*.Doc" skip
The following example adds the letter "A" to the front of files transferred to the server. For example Sample.htm becomes ASample.htm.
MPUT *.htm A*.htm
The final example removes file extensions from PC files copied to the server:
MPUT *.* *.