cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Help for using curl with proxy

From: Pokala Prabhakar - R&D <Pokala.Prabhakar_at_aztech.com>
Date: Fri, 9 Mar 2007 13:58:35 +0800

Hi,
   I am facing the following problem while trying to connect to internet via Proxy using Curl.

I am using the follwing options:

curl URL --proxy proxyIP:port --proxy-user username:password

I am getting the follwing error (with the verbose option):

* About to connect() to proxy 10.1.8.19 port 8080 (#0)
* Trying 10.1.8.19... connected
* Connected to 10.1.8.19 (10.1.8.19) port 8080 (#0)
* Proxy auth using Basic with user 'prabhakar'
> GET http://myurl HTTP/1.1
> Proxy-Authorization: Basic cG9rYWxhLnByYWJoYWthcjpuYXZlZW4yMDIw
> User-Agent: curl/7.16.1 (i386-redhat-linux-gnu) libcurl/7.16.1
> Host: myurl
> Pragma: no-cache
> Accept: */*
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authoriza
tion to fulfill the request. Access to the Web Proxy service is denied. )
< Via:1.1 HQPROXY
< Proxy-Authenticate: NTLM
< Proxy-Authenticate: Kerberos
< Proxy-Authenticate: Negotiate
< Connection: close
* HTTP/1.1 proxy connection set close!
< Proxy-Connection: close

Note: I tried to use the curl as it is. Haven't done any modification for the source.

Thanks in advance.

Regards,
Prabhakar
Received on 2007-03-09

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET