ftp get
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
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
Related links
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro