PDA

View Full Version : Web Directory Monitor?


Yukino
9-17-09, 02:15 PM
I'm not sure if this was the right area to post this in but

I'm looking for some kind of script/program that can moniter specified directories on my website and email me notification if say a file was uploaded/changed in that directory.

(i am planning to have client pages on my website that have an included file upload/downloader hence the reason for my question)

Anyone know if this is possible?

snowmaker
9-17-09, 02:28 PM
Have a look here, PHP Script & Programs | Hot Scripts (http://www.hotscripts.com/category/php/scripts-programs/). I'm sure there is already a script written that does this, I'm not sure what category it would fall in though. Why not a notification when a file is uploaded, rather than checking later to see if it's there? A file that's been downloaded is still present where it was downloaded from, so a link to that file should be monitored (to know when its clicked), and to know whether or not the file has actually been downloaded would require I think a read thru the access logs.

Yukino
9-17-09, 08:57 PM
i did check through there and didn't seem to see anything like what i described. : /

entrecon
5-20-10, 07:47 AM
If your clients don't have access to FTP and are uploading/editing through a script, I would just embed the e-mail notification in the upload or save piece of the script.