FileSystemWatcher & FTP

  • Thread starter Thread starter Alfredo Magallón Arbizu
  • Start date Start date
A

Alfredo Magallón Arbizu

Hello,

Is it normal that the FileSystemWatcher don't launch the created event if a
file is FTP'ed and did it when it is copied from other folder?

Is there any way to achieve this?

Regards,
Alfredo
 
I think it has something to do with the fact that the new file that you are
FTPing is being created incrementally. Try watching the Changed even as well
for that same path/filter. And just to be sure just double check all
variables for simple typos because I would still think that it should fire on
Created. Hope this helps! Another thing you can do is to have one procedure
handle all evens for FSW object, to see if anything at all fires to identify
what's going on.
 
Back
Top