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.


put <LocalFile> [<RemoteFile>]


Parameter Description


Specifies the local file to copy.


Specifies the name to use on the remote computer.


  • The put command is identical to the send command.

  • If RemoteFile is not specified, the file is given the LocalFile name.


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

Additional references