file-monitoring

OS-independent API to monitor file system?

Hi, I would like to experiment with ideas about distributed file synchronization/replication. To make it efficient when the user is working, I would like to implement some kind of daemon to monitor changes in some directory (e.g. /home/user/dirToBeMonitored or c:\docs and setts\user\dirToBeMonitored). So, I could be able to know which f...

How to make a folder in windows explorer activate an external application?

Hello, I need to create an application that when a user copies a file into an specific folder, my application will be activated and the file will be changed, also, when the user reads back any file in the folder, changes will also be made to the file. Is it possible? I'll use .net for this. I think the folder C:\WINDOWS\assembly is s...

Is there a sophisticated file system monitor for Java which is freeware or open source?

I'm looking for a Java library which can notify me about changes on the file system. I found some free libraries, but they all use brute-force detection, i.e. polling in regular intervals. And the other ones are always commercial. What I'm looking for is a library which uses the file monitor functions from the OS, i.e. FindFirstChange...