Hi all, I need to get the latest files which are there in remote machine. Here I will not be knowing any information about the new files. If possible i need to make copy of only new files in new folder. If I synchronize it will download to the local folder but here I will not get to know which files are downloaded. In my program I need to work on those new files whenever I download files from remote. Is there any way to find the newly downloaded files. Or any java API to meet this requirement. Please give some API for this.
Avinash: In my program I need to work on those new files
Have two directories. One for processed files and one for new files(your download location) Whenever your program processes a file, it moves that file to the "processed" directory. So, you will always have unprocessed(new) files in the download directory.
(Moving this topic to Java In General(Intermediate))
If I download files in new folder it will download all the from remote machine. Here it is difficult to find which are new files. If I compare this new folder with processed folder it will be heavy work, because if there are thousands of files it takes more time.