Skip to main content

FTP Put

Use this command to copy a file to a server. This command is used in conjunction with the SET FTP command.

Syntax:

FTP PUT "LocalFileName" "RemoteFileName"

where:

  • LocalFileName is the name of the local file to be copied.
  • RemoteFileName is the name to use on the remote server.

Syntax example

FTP PUT "FTP1.txt" "FTP2.txt"

See also

Was this article helpful?

We're sorry to hear that.