cURL / Mailing Lists / curl-users / Single Mail

curl-users

Can't get in to password protected sites

From: Kingsley Tart <kingsley_at_skymarket.co.uk>
Date: Wed, 15 Nov 2000 15:16:16 -0000

I'm having trouble getting into password protected sites. Supposing the
site is http://protected.site.com/ and the username and password are
"myuser" and "mypass", this is what I'm typing:

curl -u myuser:mypass http://protected.site.com/

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) ?

--
Cheers,
Kingsley
Skymarket Ltd.
ICQ: 91927904
Received on 2000-11-15