Re: New to cURL
Date: Wed, 9 Jan 2002 14:20:33 +0100 (MET)
On Wed, 9 Jan 2002, Lourens Human wrote:
> I am new to cURL and I have no idea where to start.
... and you said this in the libcurl mailing list, which is for discussing
developing with libcurl and libcurl development. I'm not that sure this is
what you want.
> How do I find out if cURL is available to me on my server?
curl, the command line tool or libcurl the library? You find curl by entering
'curl -V' in a shell prompt. If you get a reply from curl with its version
number, then it is installed. To find out if libcurl is installed, run
> My site is hosted on a Linux server and I do not have direct access to the
> command line.
Uh, then I suggest that you ask your admins if curl is installed.
> Any basic example how to use cURL is much appreciated.
To get the curl front page, sent to stdout:
$ curl http://curl.haxx.se/
A tiny libcurl example (using C) can be found here:
-- Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/Received on 2002-01-09