curl.egg

Using curl you can easily incorporate http, ssl, ftp and other file
transfer protocols into your chicken application.

This is still very alpha software, but is usable and reliable for
basic http get operations.

I have placed a copy here:

http://tonysidaway.schtuff.com/curl_egg

You must click on the question mark icon to initiate the download.
Install in the usual way, for instance on Ubuntu:

$ sudo chicken setup curl

It can also be obtained from the egg repository via subversion.

$ svn co https://galinha.ucpel.tche.br/svn/chicken-eggs/curl
$ cd curl/trunk
$ make
$ sudo make install

tinyclos is required, and you'll need libcurl to build and use this.

a simple demonstration:

$ csi
(use curl)
(define c (curl 'easy))
(curl-set-option! c 'url "http://www.example.com";)
(curl-perform c)

This example code writes content from the specified URL to
(current-output-port).  The content can be captured in a Scheme string
by using with-output-to-string.

The libcurl homepage is at http://curl.haxx.se/libcurl/


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to