Ftp: recv


Applies To: Windows Server 2008 R2,Windows Server 2008,Windows Vista,Windows 7

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


Copy Code

recv <RemoteFile> [<LocalFile>]

Parameters

Parameter

Description

<RemoteFile>

Specifies the remote file to copy.

[<LocalFile>]

Specifies the name to use on the local computer.

Remarks

Examples

Copy test.txt to the local computer using the current file transfer type.


Copy Code

recv test.txt

Copy test.txt to the local computer as test1.txt using the current file transfer type.


Copy Code

recv test.txt test1.txt

Additional references