ftp put
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Copies a local file to the remote computer using the current file transfer type.
Note
This command is the same as the ftp send command.
Syntax
put <localfile> [<remotefile>]
Parameters
Parameter | Description |
---|---|
<localfile> |
Specifies the local file to copy. |
[<remotefile>] |
Specifies the name to use on the remote computer. If you don't specify a remotefile, the file is give the localfile name. |
Examples
To copy the local file test.txt and name it test1.txt on the remote computer, type:
put test.txt test1.txt
To copy the local file program.exe to the remote computer, type:
put program.exe
Related links
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho