Re: Sorting FTP Directory listing

Giganews Newsgroups
Subject: Re: Sorting FTP Directory listing
Posted by:  Don (kingfi…
Date: Tue, 31 Jan 2006

> Is there any way that i can sort, by modified date, a directory listing
> returned by FTP.List ?

This is a UI issue really.  Why not keep it isolated there?  You could try
using a TListView in virtual mode with its' SortType property.  The
TListView event handlers can be used to access the data in
TIdFTP.DirectoryListing and to compare list items for sorting.

Virtual TreeView is really good for this, too.




In response to

Sorting FTP Directory listing posted by Vic Leitch on Tue, 31 Jan 2006