Download files from SCADA

Discussion about recent product features & solutions!
2 posts • Page 1 of 1
nedzad
Posts:32
Joined: Fri Feb 17, 2017 3:44 pm

Download files from SCADA

Post by nedzad »

Hello,

is there any way to download files directly from SCADA? The function netGet() downloads the data, but I need to download the file, e.g. pdf file, and save it somewhere on local computer.

Best regards,
Nedžad

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: Download files from SCADA

Post by mkoller »

You can tell netGet() to download the file to a specific file path using the options mapping argument.
qthelp://wincc_oa/doc/ControlE_R/netGet.htm
e.g.
netGet("http://localhost/pictures/console.png", m, makeMapping("target","/tmp/console.png"));

netGet("http://localhost/pictures/console.png", m, makeMapping("target", "/tmp"));

2 posts • Page 1 of 1