Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.7k views
in Java FTP by
I have a simple problem. The default dir listings return files names in alpha order. However I need the listing to be returned in ascending order by time.

ie: dir /OD

Any help would be appreciated.

1 Answer

0 votes
by (51.6k points)
I have a simple problem. The default dir listings return files names in alpha order. However I need the listing to be returned in ascending order by time.

ie: dir /OD

Any help would be appreciated.


Sort the String or FTPFile objects after you've retrieved them with the dir(String) or dirDetails(String) methods.

- Hans (EDT)

Categories

...