G
Guest
Hi,
I've got a FileSystemWatcher set like this:
----CODE SAMPLE-------------
fsw = new FileSystemWatcher(@"D:\Test\");
fsw.NotifyFilter = NotifyFilters.LastWrite;
fsw.IncludeSubdirectories = false;
fsw.Changed += new FileSystemEventHandler(fsw_Changed);
fsw.Created += new FileSystemEventHandler(fsw_Created);
fsw.EnableRaisingEvents = true;
----CODE SAMPLE-------------
The goal is to get a notice when a file is copied to this directory. This
works just fine using ctrl-x, ctrl-v or using drag/drop functionality from
another disk, but not using drag/drop on the same disk (say, for example,
dragging a file from d:\ on the Test directory and thus moving it to d:\test).
What is going wrong?
Thanks in advance,
Brecht
I've got a FileSystemWatcher set like this:
----CODE SAMPLE-------------
fsw = new FileSystemWatcher(@"D:\Test\");
fsw.NotifyFilter = NotifyFilters.LastWrite;
fsw.IncludeSubdirectories = false;
fsw.Changed += new FileSystemEventHandler(fsw_Changed);
fsw.Created += new FileSystemEventHandler(fsw_Created);
fsw.EnableRaisingEvents = true;
----CODE SAMPLE-------------
The goal is to get a notice when a file is copied to this directory. This
works just fine using ctrl-x, ctrl-v or using drag/drop functionality from
another disk, but not using drag/drop on the same disk (say, for example,
dragging a file from d:\ on the Test directory and thus moving it to d:\test).
What is going wrong?
Thanks in advance,
Brecht