How to receive file change notification? 
Author Message
 How to receive file change notification?

Hi, I was wondering how i can detect all changes within a folder in the
filesystem (renaming, creating new file, moving file). I have source code
from the net which uses the findfirstchangenotification from kernel32.dll to
get a notification back from the os, however, it can only detect files that
have been written to the hard drive. Which means that if the file is cached,
then a notification would not occur. So if a small file gets moved into the
directory (for example, a file of 1K in size), then a notification will not
occur because that file was cached.
It would be great iIf anyone can point me in the right direction, I'm a
junior programmer, so I don't know much about embedded programming, thank
you.


Thu, 27 Jan 2005 02:36:51 GMT  
 How to receive file change notification?
Answered in another group.

Please do not MULTI-POST your questions.

If you feel you need to post to more than one group (seldom necessary),
cross-post instead. This way your message is sent to all groups at once
rather individual messages to each group, as multi-posting provides. In
doing this, all responses to your post from any group are  echoed to all the
groups you posted to, thus everyone has the same info and knows when you've
received your answer.

--

Randy Birch
MVP Visual Basic
http://www.mvps.org/vbnet/
Please respond only to the newsgroups so all can benefit.


| Hi, I was wondering how i can detect all changes within a folder in the
| filesystem (renaming, creating new file, moving file). I have source code
| from the net which uses the findfirstchangenotification from kernel32.dll
to
| get a notification back from the os, however, it can only detect files
that
| have been written to the hard drive. Which means that if the file is
cached,
| then a notification would not occur. So if a small file gets moved into
the
| directory (for example, a file of 1K in size), then a notification will
not
| occur because that file was cached.
| It would be great iIf anyone can point me in the right direction, I'm a
| junior programmer, so I don't know much about embedded programming, thank
| you.
|
|
|
|



Fri, 28 Jan 2005 03:00:42 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How to receive file change notification in VB6?

2. How to receive file change notification in VB6?

3. Receiving notification about changes(adding or removing ActiveX controls) in the container

4. Receiving notification on Send, Receive and Delete

5. FTP Notification when a file is received

6. Network User Notifier / File change notification

7. How to I get file change notification?

8. How to get file system change notifications?

9. Notification when a file changes

10. File system change notifications

11. Notification that file or folder changed

12. Files changes notifications

 

 
Powered by phpBB® Forum Software