|* - ASTERISK||ftp://example.com/some/path/*.txt (for all txts from the root directory)|
? - QUESTION MARK Question mark matches any (exactly one) character.
[ - BRACKET EXPRESSION The left bracket opens a bracket expression. The question mark and asterisk have no special meaning in a bracket expression. Each bracket expression ends by the right bracket and matches exactly one character. Some examples follow:
[a-zA-Z0-9] or [f-gF-G] - character interval
[abc] - character enumeration
[^abc] or [!abc] - negation
[[:name:]] class expression. Supported classes are alnum,lower, space, alpha, digit, print, upper, blank, graph, xdigit.
[-!^] - special case - matches only -, ], [, ! or ^. These characters have no special purpose.
[\[\]\\] - escape syntax. Matches [, ] or #146;.
Using the rules above, a file name pattern can be constructed:
This feature is only supported for FTP download.
Added in 7.21.0
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
|libcurl 7.37.0||CURLOPT_WILDCARDMATCH (3)||16 Jun 2014|