FTP Object
 
Syntax
 
FTP.MGetFiles(remotePattern As String, localDir As String) As Long
 
Description
Copies all the files in the current remote FTP directory to a local directory. To copy all the files in a remote directory, set remotePattern to "*.*" The pattern can contain any number of "*" or "?" characters where "*" matches 0 or more of any character, and "?" matches any single character. The return value is the number of files transferred, and on error, a value of -1 is returned. Detailed information about the transfer can be obtained from the XML log.
 
Parameter
Description
remotePattern
String, the wildcard pattern for the files to be downloaded.
localDir
String, the local pathname to store the downladed files in.
See Also