Rediger

Del via


ftp get

Copies a remote file to the local computer using the current file transfer type.

Note

This command is the same as the ftp recv command.

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 isn't specified, the file is given the name of the remotefile.

Examples

To copy test.txt to the local computer using the current file transfer, type:

get test.txt

To copy test.txt to the local computer as test1.txt using the current file transfer, type:

get test.txt test1.txt