rput
- Last Updated: June 3, 2026
- 1 minute read
- WS_FTP Pro
- Version 13.0
- Documentation
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: