Ftp: get

 

Updated: April 17, 2012

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.

get <RemoteFile> [<LocalFile>]

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.

The get command is identical to the recv command.

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
Show: