File IO
-
HI ALL, I have already created directory.I want to monior this directory, for any chages, like file copying , removing. Which method I should use? VikramS
-
HI ALL, I have already created directory.I want to monior this directory, for any chages, like file copying , removing. Which method I should use? VikramS
For an "easy" approach, try implementing a FileSystemWatcher object from the .Net Framework. This object has capabilities to watch for all events you specified. Without the .Net Framework, I remember that there was a discussion over this matter earlier on the forums. You could try searching. -Antti Keskinen ---------------------------------------------- The definition of impossible is strictly dependant on what we think is possible.
-
HI ALL, I have already created directory.I want to monior this directory, for any chages, like file copying , removing. Which method I should use? VikramS
-
HI ALL, I have already created directory.I want to monior this directory, for any chages, like file copying , removing. Which method I should use? VikramS
In addition to Brian D's suggestion, also check out
FindFirstChangeNotification()
.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)