dcsimg
Scanning a Filesystem
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Krishna_Dev
Posted On:   Thursday, November 1, 2001 09:24 AM

Hi!
Is there a way that I can "scan" a filesystem using Java code to check if there are any changes to it.( that is, check if any new files are added or existing files deleted).

Thanks much,
Krishna

Re: Scanning a Filesystem

Posted By:   John_Zukowski  
Posted On:   Saturday, November 3, 2001 11:17 PM

There is no easy way to check this without manually scanning for changes to the last modified date of each File. For deletions, the directory would be modified, but it won't tell you what was deleted, just that the directory was modified.
About | Sitemap | Contact