Apr 20, 2011
I have put together an app to monitor several directories. The basic principle is to replicate from a Master directory to a Shared directory when specific criteria is met (specific file types are changed, renamed or deleted within the Master directory)Everything seems to work fine with excpetion to MS Office documents. e.g. If I work on a .bmp and save it, it will trigger a changed event. However, with office documents (Word in this example), it appears to rename the MYDOC.DOC file to <freefile>.TMP then rename a different <freefile>.TMP to MYDOC.DOC. This would not be a problem if it was to trigger the Changed or Created event for MYDOC.DOC, but it doesn't. It wouldn't be so bad if the first TMP file was named the same as the second TMP file as I could mirror the process using the Renamed event.I can not filter out TMP files as we use TMP files within the Master directory, albeit for a different purpose.I would use an off the shelf produt, but the files need to be copied to different shared directories based on specific criteria so I can not seem to find a suitable product that fits my needs.
View 1 Replies