cURL / Mailing Lists / curl-users / Single Mail


Re: send file to https webserver

From: Daniel Stenberg <>
Date: Mon, 27 Sep 2010 22:27:43 +0200 (CEST)

On Mon, 27 Sep 2010, Ron Eggler wrote:

> We would like to send a file to a perl file on an https:// remote
> webserver. The browser would ask for user credentials username &
> password. We've tried several things and the closest we've seeminly
> gotten was with "curl -k -U admin

-U (uppercase u) sends proxy user name. You use -u (lowercase u) to send
host user name.

> - after this it would ask for the password but then it's still barkingn with
> a 404 about "Authorization Required" - how come?

404 is "file not found", it is not related to authorization at all. I assume
you mean you get a 401 since you don't provide the correct host user name.

List admin:
Received on 2010-09-27