I am making a file monitoring tool, I've asked google what's the best approach in doing that and it returned that I should use filesystemwatcher, others suggested a polling program. Now I've decide to ask here for my final decision, hoping for some advices.
Here's my the current scenario:
My server path (local): C:\FilServer
List of folder to monitor for created event:
C:\FilServer\AB_Incoming - zip files
C:\FilServer\AC_Incoming - xml and tif files
List of folder to monito for deleted event:
C:\FilServer\AB_Outgoing - zip files
C:\FilServer\AC_Outgoing - xml and tif files
When the folder raises event, the detected file will be following this routine:
Move the file to d:\backup and copy to e:\source[date][time] and write sumary log.
Thanks in advance.