curl-library
Re: password: prompt
Date: Mon, 17 Jun 2002 20:46:48 -0700 (PDT)
--- Steve Dekorte <stevedekorte_at_yahoo.com> wrote:
> I'm getting a password: prompt when connecting to
> sites that require a password. Is there any way to
> tell curl to call a callback or simply produce an
> error instead of putting up a password prompt?
Sorry for the dumb question - just found the answer:
curl_easy_setopt(curl_handle, CURLOPT_USERPWD, (char
*)"");
Cheers,
Steve
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
----------------------------------------------------------------------------
Bringing you mounds of caffeinated joy
>>> http://thinkgeek.com/sf <<<
Received on 2002-06-18