Ftp: send |
Applies To: Windows Server 2008 R2,Windows Server 2008,Windows Vista,Windows 7
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
Copy Code |
|
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.
Copy Code |
|
send test.txt test1.txt |
Copy the local file program.exe to the remote computer.
Copy Code |
|
send program.exe |