Jump to content


Photo

Email Notification


  • Please log in to reply
1 reply to this topic

#1 chrscollins

chrscollins
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 10 May 2006 - 07:51 AM

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


#2 JRS

JRS
  • Members
  • PipPipPip
  • Advanced Member
  • 45 posts

Posted 10 May 2006 - 04:00 PM

[!--quoteo(post=372846:date=May 10 2006, 03:51 AM:name=chrscollins)--][div class=\'quotetop\']QUOTE(chrscollins @ May 10 2006, 03:51 AM) View Post[/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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users