Published: May 3, 2010
Updated: April 17, 2012
Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2, Windows Vista
Copies a remote file to the local computer using the current file transfer type. For examples of how this command can be used, see Examples.
recv <RemoteFile> [<LocalFile>]
Specifies the remote file to copy.
Specifies the name to use on the local computer.
The recv command is identical to the get command.
If LocalFile is not specified, the file is given the RemoteFile name.
Copy test.txt to the local computer using the current file transfer type.
Copy test.txt to the local computer as test1.txt using the current file transfer type.
recv test.txt test1.txt