Question:
when calling the NumFilesAndDirs through the FTP interface, what order are the index in, is it sorted according to file name ascending or descending ? Or does this depend on the FTP-server ?
It depends on the order of the files in the directory listing returned by the FTP server.