开发者

Why File System Watcher is almost blind?

I am using FileSystemWatcher in order renaming files within a Watched directory.

The problem occurs if the number of files copied simultaneously to the watched directory开发者_Python百科 exceeds the number of 50...

The rename event is fired successfully for the first 50 files, but after that nothing happens

Any suggestions please?


You'll need to give it a bigger InternalBufferSize. And repond quickly to change events. Queuing them, then processing the notification in another thread is best. That also helps you deal with the inevitable locked file problems.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜