I am using the filesystem for storing large files off the database and keeping only a record of the directory path on the database. So I am looking for a tool to use as an interface for keeping the database aligned with the content stored on the filesystem.
I am writing what I know/have thought of so far. Could I please have some ideas on if any such tools are already out there?
On the server side, I think I need:
Script to monitor directory for new files Cron jobs to run the monitoring script periodically Script to update database contents periodically On the client side (end user), I think I should:
Upload the file to a /tmp directory Run virus scan on updated file(s) Use a script to move checked file to actual location