chrscollins Posted May 10, 2006 Share Posted May 10, 2006 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 Link to comment Share on other sites More sharing options...
JRS Posted May 10, 2006 Share Posted May 10, 2006 [!--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 LuckJRS Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.