Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
in .NET FTP by (120 points)
I am limiting the number of files that can be retrieved from the DownloadMultiple() method. To achieve this I set the FTPFileTransferEventArgs.Cancel = true when the number of files downloaded has reached my limit.

But, I need to know in which order the files from this method are returned. For instance, if they are ordered by remote filedate, and if it's descending or ascending order. I also want to know if the ordering is consistent no matter what Ftp server or server plattform I am connected to.

1 Answer

0 votes
by (161k points)
The list sent back is controlled by the FTP server. You can't rely on it being in any particular order, and it will likely vary between servers.