cURL / Mailing Lists / curl-library / Single Mail


Re: NTLM proxy nightmare - POST problem?

From: Dan Fandrich <>
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 -u
> "httpusername:httppassword" -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

--              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-03-07