MGET
- Last Updated: June 3, 2026
- 1 minute read
- WS_FTP Pro
- Version 13.0
- Documentation
MGET
Syntax: MGET (sourcefile or folders) [destloc] [modeswitch]
What it does: Retrieves source files from a site, where
- Sourcefile is the name(s) of file(s) downloaded to the local system. Wildcards of ‘*’ or ‘?’ are acceptable in the source file specification. If folder is specified, all files in the folder (not including subfolders) will be downloaded to the local system.
- Destloc is the folder for the downloaded files on the local system. If destloc is not specified, the current folder on the local system is used as the destination.
The transfer mode is indicated in the modeswitch (0 = ASCII, 1 = BINARY).
Notes: