1. Re[4]: Generic HTTP access?
- Posted by akusaya at gmx.net Jul 05, 2006
- 614 views
> Have you libcURL installed on your machines? > If so, download eulibcurl.e from > http://www.raymondsmith.com/euphoria/downloads/eulibcurl02.zip > Include eulibcurl.e in your program after changing the path to the librar= y: > }}} <eucode> > if platform() = WIN32 then > path/to/libcurl.dll > else > path/to/libcurl.so > end if > </eucode> {{{ > By including eulibcurl.e you can access a function called > =ABcurl_easy_get_file()=BB that downloads any web page. > In the zip file there is also a demo: easy_download.exw. I tried curl some time ago.. and sometimes I got machine exceptions (not really repeatable). That time I switched to wget using ShellExecute. I feel that a decent and stable network library in EU is not yet available.
2. Re: Re[4]: Generic HTTP access?
- Posted by Julio C. Galaret Viera <galaret at adinet.com.uy> Jul 05, 2006
- 600 views
According to the authors, libcurl *must* be initialized at the very beginning of the main program from where it is used and *not* when any of the library functions are about to be used. Otherwise, programs may experience crashes at random (non repeatable). Besides, libcurl is much more powerful than wget. JG