We have a folder of pdf files where we want to be able to track two things -
- when a new file is added
- when an existing file is replaced with a file of the same name.
We have 1) working (using Directory Watcher). But I'm not sure of the best way to approach 2). I guess we could look out for situations of 1) where the file count in the directory has also increased. But I'm not clear how to accomplish that or whether that's the best approach.
Incidentally, these files are project drawings. And our business practice is such that when as-built info is added to the drawings, they get re-scanned and the existing file gets replaced with this new scanned file.