cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Help

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 30 Apr 2011 12:54:13 +0200 (CEST)

On Sat, 30 Apr 2011, brijesh singh wrote:

> we are making a solution where we to fetch some data from web, to do that we
> make use of curl library. recently we got some ardent dependency of the
> operating system which does not have curl library higher than 7.18.2. As
> sometime websites will be using username/password HTTP based authentication,
> I are not sure if its feasible to get something like that using 7.18.2 ( as
> Username and pasword fields were introduced in 7.19.1), so that Username and
> password can be sent to authenticate users?

CURLOPT_USERPWD has existed "forever", so use that then instead. It was only
the separate user + password options that were introduced much later.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-04-30