FTP Object
 
Syntax
 
FTP.DeleteMatching(remotePattern As String) As Long
 
Description
Deletes all the files in the current remote FTP directory matching the pattern. Returns the number of files deleted, or -1 for failure. The pattern is a string such as "*.txt", where any number of "*" or "?" wildcard characters can be used. "*" matches 0 or more of any character, and "?" matches exactly 1 of any character.
 
Parameter
Description
remotePattern
String, the file path wildcard pattern.
See Also