I'm looking for an open source Java application that allows me to monitor a Windows file system. Something that creates a log when files are opened, modified, moved, copied, or deleted. Does anyone have any suggestions?
If there isn't already an open source application that does this, does anyone know how I could accomplish it via Java and a Microsoft API? I would like to track changes without forcing the user to work with the file system through an independant portal. I'd like to observe and log the changes from a more passive perspective.
The purpose of this application will be to add the information about changes to files and the filesystems in a database that tracks data.
There must be Windows APIs. I use several editors that alert me when the file I'm editing has been changed by another program. You'd have to use JNI to bridge between Java and a C/C++ module that uses those APIs. If you have the C and Windows skills to do that part, look for a JNI tutorial.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi