title | description | ms.topic | ms.assetid | ms.author | author | manager | ms.date |
---|---|---|---|---|---|---|---|
ftp send |
Reference article for the ftp send command, which copies a local file to the remote computer using the current file transfer type. |
reference |
000aa80a-60a0-4b51-815f-3237a4f3e0f4 |
jgerend |
JasonGerend |
mtillman |
10/16/2017 |
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 put command.
send <localfile> [<remotefile>]
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 will get the localfile name. |
To copy the local file test.txt and name it test1.txt on the remote computer, type:
send test.txt test1.txt
To copy the local file program.exe to the remote computer, type:
send program.exe