Programming with FTP OLE Automation
GetNextFileDetails method
Syntax Value = Object.GetNextFileDetails
Continues the current file search operation initiated by OpenDirectoryListing and returns True if successful. You must call GetNextFileDetails at least once before querying any of the file attribute properties: FileIsDirectory, FileName, FileSize, FileSizeString, FileDate, FileDateString, FileAttributesString.
Notes
ยท When a program is looping through a directory listing, transferring a server file will close the directory listing and terminate the loop. You can use an array to store complete directory listing information. See the Sample Code link below for an example.