FileSystemWatcher and Windows 2003

G

Guest

I have a program I created that watches a folder on a Windows 2000 Powered
Server. I've since replaced the server with a Windows 2003 Server, running
Services for UNIX 3.5. My program uses FileSystemWatcher to watch for files
created from our UNIX server. It no longer fires the event when new files
are created from UNIX in the folder that is shared using NFS. I can create a
new file under Windows and it works.

Anyone have any ideas why FileSystemWatcher doesn't work when files are
created in UNIX?
 
T

Thomas Scheidegger [MVP]

Hi Chris
I've since replaced the server with a Windows 2003 Server, running
Services for UNIX 3.5. My program uses FileSystemWatcher to watch for files
created from our UNIX server. It no longer fires the event when new files
are created from UNIX in the folder that is shared using NFS. I can create a
new file under Windows and it works.


FileSystemWatcher uses the Win32 API
ReadDirectoryChangesW

I guess SFU 3.5 installs its own IFS (Windows Installable File System) for NFS,
bypassing the default one.

Better ask in Win32 and SFU newsgroups.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top