Jump to content

How to download a file from an https URL ?


Recommended Posts

Hello,

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

Details: I'm trying to use google docs API to retrieve a document from a collection.

What I have accomplished so far: I'm able to successfully retrieve the path to a file in the collection! The problem I'm running into is when I attempt to download the file to my local machine.

I've been trying to use LabVIEW's datasocket for such task (attempting to download the 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 (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,

Link to comment

Do you know what other options I would have if datasocket is not the right tool ?

No, but I never did any work with this. I see that my copy of LV 2011 has an HTTP client palette which also seems to have support for SSL, so it's possible that it will know how to work with HTTPS, but that's just a guess.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.