cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: NTLM proxy nightmare - POST problem?

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 7 Mar 2007 11:50:57 -0800

On Wed, Mar 07, 2007 at 02:26:44PM -0500, Jonathan Arnold wrote:
> I'm having a bit of a nightmare, trying to get libcurl to work with
> NTLM (don't yell at me - it's a customer who uses it). As of right
> now, I have the latest source from the CVS, running on Windows, both
> using curllib built using SSPI and NTLM in my app, and curl.exe built
> using Cygwin. Both of these apps fail when I use proxy-anyauth for
> an NTLM proxy, and try to do a POST. Curl gets into some kind of loop
> and just hangs. GET works okay in curl.exe. And, in fact, if I add the
> -G option, curl.exe works too.
>
> Here's my curl command line:
>
> curl --proxy-anyauth -x proxyusername:proxypassword_at_isa.insors.net:8080 -u
> "httpusername:httppassword" http://test.example.com/test.cgi -d REMURL=1

Have you tried --proxy-user to set the proxy user:password? I'm not sure
they can be set with -x, and it looks like curl is acting as though there
is no proxy authentication credentials necessary.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-03-07

These mail archives are generated by hypermail.

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

File upload with ASP.NET