MGETSyntax: mget <server filespec> [to] [<pc filespec>] [append | askuser | cancel | overwrite | skip | unique] FTP Command Index SFTP Command Index The MGET command transfers one or more files matching the given filespec from the FTP server to the PC. You can use wildcards to transfer multiple files. Most servers support wildcards in the <serverspec>. However, if your server doesn't support wildcards in an LS command, using MGET with a wildcard specification may result in a transfer of all files in the current directory. Note: The Reflection client supports MGET in SFTP sessions, however you should test transfers that use wildcard characters because the SFTP server may not interpret wildcard specifications correctly. Before using the MGET command, if necessary, use the ASCII, BINARY, TENEX, or SMART command to override the default file transfer method setting specified on the Tools menu. A variety of site-specific SET parameters can affect the transfer operation. Click here for more information.
ExamplesThis example transfers all files with a .Doc extension from the FTP server to the PC, placing the files in the current PC directory: MGET *.Doc This example adds the letter A to the transferred files. For example, test.txt becomes Atest.txt. MGET *.* A*.* See ABORT-ON-ERROR Script Sample for an additional example. | ||||||
|