put

Syntax: PUT (sourcefile) [destloc] [modeswitch]

What it does: Uploads sourcefile to a site, where:

Sourcefile is the name of the file uploaded to the site. Wild cards are not allowed in the source file specification.

Destloc is the name of the uploaded file on the site. If destloc is not specified, the name of the source file will be used on the site.

  • The transfer mode is indicated in modeswitch (0=ASCII, 1=binary).

Note:

  • This command is executed only if a connection to a site has been established.
  • Use MPUT to upload multiple files. Use RPUT to upload folders with subfolders.