Ftp: get |
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 |
|
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.
Copy Code |
|
get test.txt |
Copy test.txt to the local computer as test1.txt using the current file transfer type.
Copy Code |
|
Get test.txt test1.txt |