By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,693 Members | 1,415 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,693 IT Pros & Developers. It's quick & easy.

FileSystemWatcher and Linux

P: n/a
I've recently read that the FileSystemWatcher in vb.net doesn *not* work
when watching a mounted linux server's driver (via samba, in this case)
because the drive must be NTFS in order to be detected during file
changes. This seems in keeping with the fact that I can make the
FileSystemWatcher work as long as the drive isn't on a linux server.

Since (as I'm told) the FileSystemWatcher uses the ReadDirectoryChangesW
API call, using the API would not solve my problem.

However, the window explorer *is* able to detect a file change when
displaying a mounted linux server's drive. If an explorer window is left
open, and someone adds a file (while on the linux box), the window
explorer will immediately show the new file appearing.

I'm guessing that the explorer isn't using the API calls, but whatever
it's doing *is* working with a linux drive. Does anyone know what it's
using that allows this? I'm very interested in an event-based method of
detecting file changes on a linux server's drive.
Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.