I am using Watcher to detect any file renamed event. From time to
time, or when lot of files gets renamed at the same time, Watcher
fails to detect some files. I have set the InternalBuffereSize to 64
(i think it is 64MB, please correct me if i am wrong). I move the
indication file to another folder once the processing is completed. I
am thinking to take care of this problem by checking if the processes
has actually was done on this file by checking if the file still
exists or not.
But if anybody has any suggestion or comment, please post. I
appreciate the help.
With BaseWatcher
.IncludeSubdirectories = False
.NotifyFilter = IO.NotifyFilters.FileName
.InternalBufferSize = 64
End With |