Skip to content

libcURL.FTPWildCard.PatternMatch

Andrew Lambert edited this page Sep 26, 2023 · 2 revisions

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.

See also

Clone this wiki locally