200mg Posted July 1, 2011 Posted July 1, 2011 Anyone have any sample scripts that upon ftp'ing a file, the script emails the name of the uploaded file in the the Subject line. Probably going to use mailsend.exe to accomplish the sending part, and I know how to automate ftp'ing, just wondering about how to capture the name of the uploaded file and pass it to sendmail.
janpetzold Posted July 6, 2011 Posted July 6, 2011 I did something like this, essentially its a script that uploads a file, checks if the file has been transmitted correctly and sends me an e-mail if the upload didn't work. You should be able to extract the stuff that you need from the script. There's no need to use external tools for this part, you just need to include FTPEx.au3 and INet.au3. Find the details here:http://getstreaming.wordpress.com/2011/07/06/ftp-upload-script/Cheers,Jan
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now