G
Guest
Hi I am using the filesystem watcher to pick up files as they are dropped
into a folder - the files are output file from another system and I have no
control over that.
When 'watcher raises the event that a new file has appeared then sometimes I
can read the file even tho it is still being written but it is incomplete.
Other time a file access error occurs.
I need to write a test that will see if any other process is still using
the file or if it is complete. Im using a vb.net 2005 and Net v2 A windows
service hosts the filesystem watcher which intances a class to process the
files that appear.
into a folder - the files are output file from another system and I have no
control over that.
When 'watcher raises the event that a new file has appeared then sometimes I
can read the file even tho it is still being written but it is incomplete.
Other time a file access error occurs.
I need to write a test that will see if any other process is still using
the file or if it is complete. Im using a vb.net 2005 and Net v2 A windows
service hosts the filesystem watcher which intances a class to process the
files that appear.