rput

Syntax: RPUT (sourcefile or folders) [destloc] [modeswitch]

What it does: Upload folders (with subfolders) to a site, where:

sourcefile is the name of the file to send to the site. Wild cards of * or ? are acceptable in the source file specification.

destloc is the name for the transferred file on the site. If the last character in destloc is a '/', destloc is assumed to be a folder and sourcefile is placed in that folder. If destloc is not specified, the current folder on the site is used as the destination.

  • the transfer mode is modeswitch (0=ASCII, 1=binary).

Note:

  • This command is executed only if a connection to a site has been established.
  • Use PUT to upload a single file. Use MPUT to upload multiple files or multiple empty folders.
  • Empty folders will not be uploaded.