rget
- Last Updated: June 3, 2026
- 1 minute read
- WS_FTP Pro
- Version 13.0
- Documentation
rget
Syntax: RGET (sourcefile or folders) [destloc] [modeswitch]
What it does: Retrieves folders (with subfolders) from the current site, where:
- the name of the folder is specified by folders. Wild cards of * or ? are acceptable in the folder specification.
- the name to use for the transferred file on the local system is specified by destloc. If the last character in the destloc is a '/', the destloc is assumed to be a folder and the sourcefile is placed in that folder. If destloc is not specified, the current folder on the local view is used.
- the transfer mode is modeswitch (0=ASCII, 1=binary).
Note:
- Empty folder will not be downloaded.
- The command is executed only if a connection to a site has been established.
- Use GET to download a single file. Use MGET to download multiple files.