Originally posted by Nik Arora:
Hi All,
I want to check that any new file is added to a specific folder every 60 seconds?.Any ideas or suggestions ranchers to do this.
Regards,
Nik
You can use
lastModified() under File class which return a long.You can have your own code segment to check with previous values and detect any changes made to the Directory.