Automatically Emailing Documents from an IP Address
01/18/2013 6:26 AM
I have an electronic scale that automatically generates reports and sends them to an IP address. I want to print those reports as pdfs and email them automatically to selected email adresses.
Re: Automatically Emailing Documents from an IP Address
03/25/2013 4:03 PM
I would write a script to poll the scale periodically.
Personally I like Python, but there are many languages you could use. I've just had a quick look and Python has an FTP class with some examples already available.
I would also run it on a Linux box as there are good command line conversion tools available which can easily be accessed by the script.
I've recently done something similar with a PLC. I'd be happy to give you a hand if you wish.
Re: Automatically Emailing Documents from an IP Address
03/26/2013 7:57 AM
Hi Buzz. I am very advanced on this small project working with Python. It is the least priority project, so I haven't dedicated much time until now. These last two days I have been struggling to find a way to identify the latest file and retrieve it.
I tried to post the code here for you to look, but CR4 doesn't allow that kind of formatting.