Returns an array filled with the files or subdirectories in the current directory.
The array includes the entry name, date and size.
Syntax: GetEntries (Filter As String, Dir As Boolean) As String()
Filter - Allows you to filter the entries returned. The filter string can include '*' and '?'.
Dir - If true then only subdirectories will be returned, otherwise only files will be
returned.
The date is returned as ticks, which means you should use the Date keyword to get the
date formatted as a string.
The array format is:
array(0) - entry #1 name
array(1) - entry #1 date
array(2) - entry #1 size (0 for directories).
array(3) - entry #2 name
...
array(3*n-3) - entry #n name
array(3*n-2) - entry #n date
array(3*n-1) - entry #n size
Example:
dim entries(0)
entries() = ftp.GetEntries("image00?_*.*",false)