Specifying Multiple Files in Commands

Methods of Specifying Files

There are four methods available to specify multiple files in the LIST, MGET, MPUT, and MDELETE UFTP commands.
 

Method

Example

Using wildcards.

$ MGET *.htm?

Using Regular Expressions (regex).

$ MDELETE smit.(script|transaction)

Providing an explicit comma-delimited list.

$ MPUT options.cfg data.txt,spreadsheet.xls

Using a single literal filename (no pattern matching).

$ MGET smit.script

 

For MGET, the -dst configuration option specifies the local directory to save the transferred files.

For MPUT, the -dst configuration option specifies the remote directory to save the transferred files.

 

Note

Wildcard matching and Regular Expression matching are not compatible due to the use by each of the * and ? matching characters. The default is wildcard matching. The REGEX configuration option lets you select Regular Expression matching for MGET, MPUT, and MDELETE.