Ftp: send

 

Applies To: Windows Vista, Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows Server 2012, Windows 8

Copies a local file to the remote computer using the current file transfer type. For examples of how this command can be used, see Examples.

Syntax

send <LocalFile> [<RemoteFile>]

Parameters

Parameter

Description

<LocalFile>

Specifies the local file to copy.

<RemoteFile>

Specifies the name to use on the remote computer.

Remarks

  • The send command is identical to the put command.

  • If RemoteFile is not specified, the file is given the LocalFile name.

Examples

Copy the local file test.txt and name it test1.txt on the remote computer.

send test.txt test1.txt

Copy the local file program.exe to the remote computer.

send program.exe

Additional references