LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

download files from https

Hello,

Hopefully one of you gurus out there can help out by pointing me in the right direction.

I've been trying to use LabVIEW's datasocket for attempting to download a file from the internet, however, have not been successful at it.

During my manual tests (just using the datasocket vis) what I have noticed is that if I use the datasocket with any URL and as long as it is not "secure" -https- all works as expected. However, if I try to use the datasocket with a secured URL (https) then I get an -1181 error everytime.

If datasocket is not the right approach for this, may I ask what would it be? are there any VIs out there that I could use to download my files? e.g GET_FILE_FROM_HTTPS or similar?

I look forward to your suggestions.
Cheers,

0 Kudos
Message 1 of 6
(3,100 Views)

Lets try with this File System Web Service API, might help.

 

http://zone.ni.com/devzone/cda/epd/p/id/6466 

0 Kudos
Message 2 of 6
(3,092 Views)

Hi,

 

In order to use the suggested web service, Is it imperative to have the Internet toolkit installed?

 

Rgds,

 

 

0 Kudos
Message 3 of 6
(3,083 Views)

nitulandia,

 

Unfortunately, the DataSocket VI’s will not work with HTTPS.  They only work with HTTP, FTP, OPC, DSTP, and local files.  This link should help with DataSocket.

http://zone.ni.com/devzone/cda/tut/p/id/3521#toc4 

 

Could you give some more information on your system and the software (version, toolkits, and such…) you have?  Thanks!

Jeff S.
National Instruments
0 Kudos
Message 4 of 6
(3,046 Views)

Hi Jeff,

 

I have the following: LV 2011 SP1 and no toolkits

 

Thanks,

Eddie

0 Kudos
Message 5 of 6
(3,031 Views)

Eddie,

 

Sorry Eddie, but it looks like you're going to need the Internet Toolkit.  

 

Best of luck!

Jeff S.
National Instruments
0 Kudos
Message 6 of 6
(3,014 Views)