|
-
January 14th, 2003, 04:22 AM
#1
How can I detect file change?!
Hi everybody,
I want to develop module that detects file's change. I mean than your application will be notified through that module when somebody changes file outside. I found some convinient ways to do this job in Win32. I'm using FindFirstChangeNotification, FindNextChangeNotification and ReadDirectoryChangesW functions. But after using them I must look for changed file because these function doesn't give me information about which one is the changed file. Does anybody knows how to do this task? The simplest way is to check date of modification of file. But I wonder myself whether there is any more direct way.
Also does anybody knows how to do this detection on Unix/Linux?!
Regards, Alex
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|