cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: using --proxy-ntlm

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 9 Dec 2003 18:57:19 +0100 (CET)

On Tue, 9 Dec 2003 steven.haddad_at_ascentialsoftware.com wrote:

> I need to grab files from a FTP server through an IIS4.0 proxy. The proxy
> uses NTLM authentication, but is not a domain controller.

I take it you're using curl 7.10.8?

> curl -U <proxy user>:<proxy password> -x <proxy server>:<proxy port> <ftp
> url>

This approach uses Basic authentication.

> curl -U <proxy user>:<proxy password> --proxy-ntlm -x <proxy server>:<proxy
> port> <ftp url>

This is indeed the correct command line for you.

> - is it the right way to use the -proxy-ntlm option ?

The second one, yes.

> - any suggestion ?

Do you need to specify domain? -U "domain\\user:password"

It might of course also be a bug, I've personally never had access to a proxy
that uses NTLM so I've never been able to verify the functionality myself.

Is there anyone reading this who has used --proxy-ntlm successfully?

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
Received on 2003-12-09