Ftp: put
Updated: April 17, 2012
Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista
Copies a local file to the remote computer using the current file transfer type. For examples of how this command can be used, see Examples.
Syntax
put <LocalFile> [<RemoteFile>]
Parameters
Parameter | Description |
---|---|
<LocalFile> |
Specifies the local file to copy. |
[<RemoteFile>] |
Specifies the name to use on the remote computer. |
Remarks
The put command is identical to the send command.
If RemoteFile is not specified, the file is given the LocalFile name.
Examples
Copy the local file test.txt and name it test1.txt on the remote computer.
put test.txt test1.txt
Copy the local file program.exe to the remote computer.
put program.exe