U
user
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.
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.