Jump to content

Archived

This topic is now archived and is closed to further replies.

chrscollins

Email Notification

Recommended Posts

I need to write a script that will sit in certian system accounts and will send an email when a file is uploaded thru proftpd. I think php would be the best choice and I would just like someone to point me in the right direction.

Chris

Share this post


Link to post
Share on other sites
[!--quoteo(post=372846:date=May 10 2006, 03:51 AM:name=chrscollins)--][div class=\'quotetop\']QUOTE(chrscollins @ May 10 2006, 03:51 AM) [snapback]372846[/snapback][/div][div class=\'quotemain\'][!--quotec--]
I need to write a script that will sit in certian system accounts and will send an email when a file is uploaded thru proftpd. I think php would be the best choice and I would just like someone to point me in the right direction.

Chris
[/quote]
Hi Chris,
Here is a try: I'm not sure about this proftpd - application. But if the upload is initiated from a webpage - you can have php code in the upload webpage send out the email to the appropriate email address once the upload is completed.

If the upload is being done independant of the webpages - then I would think you would need some method of polling the upload directory for new files that have been uploaded. Not sure how this would be done. Some of the gurus on the site would be better equipped to answer that one.

Good Luck
JRS

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.