Share via


Ftp: put

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Ftp: put

Copies a local file to the remote computer using the current file transfer type.

Syntax

put LocalFile [RemoteFile]

Parameters
  • LocalFile
    Specifies the local file to copy.
  • RemoteFile
    Specifies the name to use on the remote computer.
  • ? put
    Displays help for the put command.
Remarks
  • The put command is identical to the send command.

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

Formatting legend

Format Meaning

Italic

Information that the user must supply

Bold

Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

See Also

Concepts

Ftp
Ftp subcommands
Command-line reference A-Z
Command shell overview