ftp send

Applies to: Windows Server (Semi-Annual Channel), 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.

Syntax

send <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 will get the localfile name.

Examples

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

Additional References