PDA

View Full Version : Can someone think of a way to be notified (via email) when a file is uploaded to..


Daniellez
02-20-2009, 07:31 PM
...to a specific directory on a web server?

It's an apache server with php. I just can think of where to start.

Thanks!

brad211987
02-20-2009, 08:10 PM
Off the top of my head, you could write a service that monitors the directory and sends the email on any changes. If you have access to the application that is doing the uploading, you could also modify the upload routine to send an email there as well. For actually sending the email, I don't know much about PHP but I'm sure there are examples out there for that.