Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

glob - Enable/disable expansion of metacharacters

&pagelevel(4)&pagelevel

The glob command enables or disables the expansion of metacharacters in local file names. On starting FTP, metacharacter expansion is enabled by default.

In the commands mget, mput, mdir, mls and mdelete, metacharacters may be specified in the local file names. If metacharacter expansion is enabled, the metacharacters are recognized as such and evaluated in accordance with the rules. If metacharacter expansion is disabled, the metacharacters are not recognized as such and are interpreted as part of the file name.

glob



Example

mget a*

If metacharacter expansion is disabled - as can be seen from the status off - FTP interprets the entry a* as a fully-qualified file name and issues the error message:

550 a* not a plain file or does not exist