libcURL.FTPWildCard.PatternMatch - charonn0/RB-libcURL GitHub Wiki
libcURL.FTPWildCard.PatternMatch
Event Signature
Event Function PatternMatch(Pattern As String, Filename As String) As Boolean
Parameters
| Name | Type | Comment |
|---|---|---|
| Pattern | String | The wildcard pattern used for the transfer. |
| Filename | String | The filename to match against Pattern. |
Return value
Return True if the Filename matches the Pattern.
Remarks
This event handles the CURLOPT_FNMATCH_FUNCTION callback.
This event is raised when CustomMatch=True. It allows you to provide your own pattern-matching code.