Re: [Announce] euLibCurl - An internet protocol transfer library
- Posted by Kat <gertie at PELL.NET> Aug 23, 2002
- 434 views
On 23 Aug 2002, at 13:40, Ray Smith wrote: > > Hi, > > Late last night I did a bit of a hunt around the net looking for a > library to replace the euTcp4u http4u_get_file() function that fails > with the HTTP 1.1 protocol web servers. > > I found "Curl" and the excellent library behind it "LibCurl". > > So now there is an euLibCurl! (ie. a Euphoria wrapper) > > euLibCurl is a very early wrapper that can replace the tcp4u > get_file function. It isn't a drop in replacement for the tcp4u > function - you'll need to recode any existing apps. You'll be glad > you did as LibCurl is much much better! > > LibCurl has many many options which I might add in the future, but for > now it can be used to download web pages/files from the web (including > through a proxy and receiving pages/files stright to memory / > sequences). > > Since this is such a quick release I can't promise not to change the > current functions. So don't get too involved with it without sending > me a message! > > euLibCurl comes with 2 demo programs and simple doco. > > It can be downloaded from my web page below. > > I'd love to hear from the people you had trouble with the tcp4u > functions and see if euLibCurl works! :) > > Any questions, comments, bug reports, typos etc gladly accepted :) I have two questions and a suggestion..... Q1) Re: aCurlHandle = 0 is failure, anything else is an error. so any value for a handle that is not a failure, is an error? Can you explain the difference, and why we would use a function that returns only failures and errors? Q2) If cURL is a commandline-only setup, is there a way to NOT open a gui or dosbox, and just get the webpage into a file or sequence like TCP4u does now? My suggestion is a better readme and examples, when you have the time. And maybe making the functions look like tcp4u, so the curl code would work just by changing the include declaration? Kat