Ftp: recv
Applies To: Windows Vista, Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows Server 2012, Windows 8
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.
Syntax
recv <RemoteFile> [<LocalFile>]
Parameters
Parameter |
Description |
---|---|
<RemoteFile> |
Specifies the remote file to copy. |
[<LocalFile>] |
Specifies the name to use on the local computer. |
Remarks
The recv command is identical to the get command.
If LocalFile is not specified, the file is given the RemoteFile name.
Examples
Copy test.txt to the local computer using the current file transfer type.
recv test.txt
Copy test.txt to the local computer as test1.txt using the current file transfer type.
recv test.txt test1.txt