Help with Email Code After Upload
We have some software that uploads video footage to our FTP server now we want to send an email confirmation from the server once uploaded. This is where I need some help.
I need a solution that checks for new uploads and send the email by looking for new .txt files and emails confirmation to the user.
The data is not stored in a datebase just the .txt file.
1) File is upload as a .AVI file
2) Along with the upload it places a .txt file with the same name as the AVI file but contains comma separated information.
For example test.avi (video file) and test.txt contains this
Which is as follows:
How would I go about checking for new .txt files and then sending an email to the person that uploaded it with the above information as well the file location of the AVI file.
Or better still would be to grab all the text files every few minutes upload the data into a database and send the email.
Thanks in advance.
Last edited by ROYW1000; 03-19-2013 at 09:44 AM..
Reason: Additional Information