Ftp: get

 

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

get <RemoteFile> [<LocalFile>]

Parameters

Parameter

Description

<RemoteFile>

Specifies the remote file to copy.

[<LocalFile>]

Specifies the name of the file to use on the local computer. If LocalFile is not specified, the file is given the RemoteFile name.

Remarks

The get command is identical to the recv command.

Examples

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

get test.txt

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

Get test.txt test1.txt

Additional references