Re: Retrieving Files via 'net with Euphoria Program
- Posted by Andy Serpa <ac at onehorseshy.com> Oct 19, 2004
- 610 views
I made my own new wrapper for libcurl from scratch. I don't use Ray's. I have not offered it for public consumption because it is highly customized to my needs and highly entangled with many of my other personal libraries. I can see about making a public version if there is interest. Although I am able to access https pages with CURL, I've not really figured out the stuff to do with certificates, etc. I usually end up putting it in a mode where SSL is enabled but it doesn't actually check the authethticity of the remote site's certificates, etc. For my needs this doesn't matter, but if you want true full SSL security you'd have to figure out that stuff. For most people, using the built-in (to Windows) wininet.dll is probably preferable, however. It can handle secure communications automatically without you doing anything special at all (just use https instead of http). There is a Euphoria wrapper for it in the archive somewhere. I used to use it for everything internet related, but switched to CURL because I wanted to use its "Multi" interface, which is sort of simlulated async mode that works in Euphoria's single-threaded environment (I couldn't get the async stuff in wininet.dll working in Eu). CURL is also much easier to understand than Microsoft stuff for my feeble brain...