Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
1.7k views
in Java FTP by (120 points)
Hi,

I am using enterprisedt in my project (Java based).

We are looking for filtering strategies. Instead of downloading all the files from specified location we want to download files based on some filters.
Filters can be download only those files starting with "report" in the filename, or file for particular date/time, etc...

Currently i am using FileTransferClient.directoryList() API which lists the current directory on the FTP server. Instead of this i want to apply some filters before reading all files!

Is there any API which supports this? Can you please guide me in order to achieve above functionality?

Thanks in advance.

1 Answer

0 votes
by (162k points)
Use directoryList(String directoryName, DirectoryListCallback lister)

You can examine each entry in the list as it is supplied.

Categories

...