cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl-users Digest, Vol 73, Issue 3

From: <Stefan.Joss_at_t-online.de>
Date: Tue, 06 Sep 2011 12:04:03 +0200

Thanks, the authentication works now. But I have an other problem now.

        I do not get the requested page. The trace-file shows a message
"HTTP/1.1 302 Object Moved". So I've added "--max-redirs 9", but curl
finishes and I do not get any page-content.

        Can you help me with this, too?.

        Regards,

        Stefan

------------------------------

Message: 3
Date: Fri, 2 Sep 2011 23:28:51 +0200 (CEST)
From: Daniel Stenberg
To: "Stefan.Joss_at_t-online.de" , the curl tool

Subject: Re: NTLM Authentication on Windows not work
Message-ID:
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Thu, 1 Sep 2011, Stefan.Joss_at_t-online.de wrote:

> curl -k -D --ntlm --user xxx:xxx --trace-ascii tmp.txt https://...

The -D option takes a file name. You gave it the file name "--ntlm" so
it was
not treated as the option --ntlm... Try this:

curl -k -D headers.txt --ntlm --user xxx:xxx --trace-ascii tmp.txt
[URL]...

-- 
/ daniel.haxx.se
------------------------------
_______________________________________________
curl-users mailing list
curl-users_at_cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
End of curl-users Digest, Vol 73, Issue 3
*****************************************

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-09-06