nitulandia Posted April 2, 2012 Report Share Posted April 2, 2012 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, Quote Link to comment
Yair Posted April 2, 2012 Report Share Posted April 2, 2012 There certainly is code which interacts with Google Docs, but I don't know if any of it allows you to download files. Here's one example - https://decibel.ni.com/content/docs/DOC-15430 Quote Link to comment
nitulandia Posted April 2, 2012 Author Report Share Posted April 2, 2012 Hi Yair, Yes, I had looked at this as well. In the example referenced above they use the datasockets, which is what I'm trying to use. Do you know what other options I would have if datasocket is not the right tool ? Quote Link to comment
Yair Posted April 3, 2012 Report Share Posted April 3, 2012 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. Quote Link to comment
nitulandia Posted April 6, 2012 Author Report Share Posted April 6, 2012 This is from an NI applications engineer: "it looks like you're going to need the Internet Toolkit. You can download an evaluation version here and try it out before purchasing." http://sine.ni.com/nips/cds/view/p/lang/en/nid/2501 Best of luck! Jeff S. Applications Engineer National Instruments Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.