Watching a directory using FileSystemWatcher

Posted by rashim on Stack Overflow See other posts from Stack Overflow or by rashim
Published on 2010-05-26T07:06:41Z Indexed on 2010/05/26 7:11 UTC
Read the original article Hit count: 196

Filed under:
|

Hello I'm watching a directory using FileSystemWatcher.

When a file is created into that directory - my watcher grabs and transfers it to the network drive. My problem is that when a Microsoft-office file is opened, a temporary file is created in the watched directory. I can't find a way to ignore these files and also could not find when I should move these file to the network drive.

© Stack Overflow or respective owner

Related posts about c#

Related posts about filesystemwatcher