469,924 Members | 1,361 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,924 developers. It's quick & easy.

tracking file system changes


hi everybody
I am writing an application for tracking files and directory changes
I used

FindFirstChangeNotification
FindNextChangeNotification
FindCloseChangeNotification
ReadDirectoryChangesW

and these are working fine and I can track all changes.

Now I want to interrupt the file system events like if the file i
being changed i want to interrupt this function and want to take th
file backup first. hope u got what i want to know . so can u peopl
please help me out in this problem ??? what functions /methods to us
for this.

Hope to see positive response

byeeeee
-
Muddassi
-----------------------------------------------------------------------
Posted via http://www.codecomments.co
-----------------------------------------------------------------------

Nov 17 '05 #1
1 1406
Muddassir wrote:
hi everybody
I am writing an application for tracking files and directory changes.
I used

FindFirstChangeNotification
FindNextChangeNotification
FindCloseChangeNotification
ReadDirectoryChangesW

and these are working fine and I can track all changes.

Now I want to interrupt the file system events like if the file is
being changed i want to interrupt this function and want to take the
file backup first. hope u got what i want to know . so can u people
please help me out in this problem ??? what functions /methods to use
for this.


Normally this kind of thing is done using a file system filter driver and a
cooperating service - which is a very different thing from simply tracking
changes. To write a filter driver, you'll need to purchase the "IFS Kit",
which goes for about $900, and plan to spend a year or so learning enough
about the file system to write a high-quality driver.

You might not be aware, but Windows Server 2003 has a facility called
"Volume Shadow Copy" that can transparently do this for you (within certain
parameters).

-cd
Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by Dan Greenblatt | last post: by
2 posts views Thread by Steve Mew | last post: by
10 posts views Thread by Generic Usenet Account | last post: by
4 posts views Thread by Glenn Owens | last post: by
1 post views Thread by fred tate via .NET 247 | last post: by
7 posts views Thread by Mike McGavin | last post: by
reply views Thread by LiveTecs | last post: by
4 posts views Thread by tagg3rx | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.