‎04-02-2012 12:20 PM
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,
‎04-02-2012
01:18 PM
- last edited on
‎02-26-2025
09:44 AM
by
Content Cleaner
Lets try with this File System Web Service API, might help.
http://zone.ni.com/devzone/cda/epd/p/id/6466
‎04-02-2012 03:05 PM
Hi,
In order to use the suggested web service, Is it imperative to have the Internet toolkit installed?
Rgds,
‎04-03-2012
06:36 PM
- last edited on
‎02-26-2025
09:45 AM
by
Content Cleaner
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!
‎04-04-2012 09:09 PM
Hi Jeff,
I have the following: LV 2011 SP1 and no toolkits
Thanks,
Eddie
‎04-06-2012
09:38 AM
- last edited on
‎02-26-2025
09:45 AM
by
Content Cleaner
Eddie,
Sorry Eddie, but it looks like you're going to need the Internet Toolkit.
Best of luck!