Previous in Forum: Ransomware/Malware   Next in Forum: Toshiba PLC program. XW001 TMOV[2] W0062
Close
Close
Close
7 comments
Rate Comments: Nested
Power-User
Engineering Fields - Agricultural Engineering - Agricultural Mechanization Technical Fields - Technical Writing - Translator Technical Fields - Education - Fluid Power Uruguay - Member - Born and raised.

Join Date: Aug 2006
Location: Montevideo, Uruguay
Posts: 474
Good Answers: 3

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.

How can I do that?

Or just emailing them.

__________________
I am happy.
Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru
Engineering Fields - Optical Engineering - Member Engineering Fields - Engineering Physics - Member Engineering Fields - Systems Engineering - Member

Join Date: Apr 2010
Location: Trantor
Posts: 5363
Good Answers: 647
#1

Re: Automatically Emailing Documents from an IP Address

01/18/2013 8:22 AM

I use Primo to convert Word and text files to pdf files. It works with lots of different types of files. It's free and is highly rated.

PrimoPDF

__________________
Whiskey, women -- and astrophysics. Because sometimes a problem can't be solved with just whiskey and women.
Register to Reply
Active Contributor

Join Date: Jun 2011
Location: New Zealand
Posts: 11
#2

Re: Automatically Emailing Documents from an IP Address

01/19/2013 3:24 PM

What program currently receives the reports?

Register to Reply
Power-User
Engineering Fields - Agricultural Engineering - Agricultural Mechanization Technical Fields - Technical Writing - Translator Technical Fields - Education - Fluid Power Uruguay - Member - Born and raised.

Join Date: Aug 2006
Location: Montevideo, Uruguay
Posts: 474
Good Answers: 3
#3
In reply to #2

Re: Automatically Emailing Documents from an IP Address

01/21/2013 11:10 AM

No one. They are accessed via an ftp client and viewed in the web browser.

__________________
I am happy.
Register to Reply
Active Contributor

Join Date: Jun 2011
Location: New Zealand
Posts: 11
#4
In reply to #3

Re: Automatically Emailing Documents from an IP Address

01/25/2013 10:40 PM

Is the scale currently sending the files to a computer or are you accessing the files directly from the scale using an FTP client or web browser?

Register to Reply
Power-User
Engineering Fields - Agricultural Engineering - Agricultural Mechanization Technical Fields - Technical Writing - Translator Technical Fields - Education - Fluid Power Uruguay - Member - Born and raised.

Join Date: Aug 2006
Location: Montevideo, Uruguay
Posts: 474
Good Answers: 3
#5
In reply to #4

Re: Automatically Emailing Documents from an IP Address

03/25/2013 2:46 PM

The files are in the scale and they are accessed via ftp.

__________________
I am happy.
Register to Reply
Active Contributor

Join Date: Jun 2011
Location: New Zealand
Posts: 11
#6
In reply to #5

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.

Register to Reply
Power-User
Engineering Fields - Agricultural Engineering - Agricultural Mechanization Technical Fields - Technical Writing - Translator Technical Fields - Education - Fluid Power Uruguay - Member - Born and raised.

Join Date: Aug 2006
Location: Montevideo, Uruguay
Posts: 474
Good Answers: 3
#7
In reply to #6

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.

__________________
I am happy.
Register to Reply
Register to Reply 7 comments
Copy to Clipboard

Users who posted comments:

buzz (3); gussosa (3); Usbport (1)

Previous in Forum: Ransomware/Malware   Next in Forum: Toshiba PLC program. XW001 TMOV[2] W0062

Advertisement