cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Can't get in to password protected sites

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 15 Nov 2000 16:54:48 +0100 (MET)

On Wed, 15 Nov 2000, Kingsley Tart wrote:

> If I go to the site in a browser and enter the user name and password
> when prompted, I get in. However, the response to cURL is as if I've
> clicked "Cancel" on the password dialog box. If I miss out the password,
> ie:
>
> curl -u myuser http://protected.site.com/
>
> I get prompted for the password but this does not help :-(
>
> Am I doing something daft (again) ?

Also (added to the questions posted by Linus), it would help a lot if you
would show us the headers that the remote server sent you, as shown with curl
-i...

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
Received on 2000-11-15