Re: [Announce] euLibCurl - An internet protocol transfer library
- Posted by 10963508 at europeonline.com Aug 23, 2002
- 451 views
Can you just make simple internet functions, like: file_handle = open_internet_file (url) size = get_internet_file_size (file_handle) bool = does_internet_file_exist (file_handle) data = read_internet_file (file_handle) read_internet_file_bytes_by_bytes (file_handle, routineid) close_internet_file (file_handle) So that they would work with ftp and http? ----- Original Message ----- From: "Ray Smith" <smithr at ix.net.au> To: "EUforum" <EUforum at topica.com> Sent: Friday, August 23, 2002 3:40 PM Subject: [Announce] euLibCurl - An internet protocol transfer library > > 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 :) > > Thanks, > > Ray Smith > http://rays-web.com > > > >