Reputation: 749
I have following task:
I need to connect to FTP server and download data from it. Then connect to same server and check files for updates.
I can't check it by content, because file is too big. How can I do it? I use apache.commons library, FTPClient class.
Upvotes: 2
Views: 95
Reputation: 19443
You can call FTPClient.listFiles(String pathName)
which gets you an array of FTPFile
objects. These contain the timestamp.
Upvotes: 2