Hi, I'm trying to wget from an IIS server of a vendor of us.
Their server asks for NTLM authentication, which IE6 can correctly supply. However, wget 1.9.1 under win32 doesn't seem to work: E:\downloads>wget -m -np -d -d -d -d -d -d -d --http-user="server.domain.com\username" --http-passwd="password" --user-agent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; .NET CLR 1.1.4322) " http://server.domain.com/directory/ DEBUG output created by Wget 1.9.1 on Windows. set_sleep_mode(): mode 0x80000001, rc 0x80000000 Enqueuing http://server.domain.com/directory/ at depth 0 Queue count 1, maxcount 1. Dequeuing http://server.domain.com/directory/ at depth 0 Queue count 0, maxcount 1. --19:36:47-- http://server.domain.com/directory/ => `server.domain.com/directory/index.html' Resolving server.domain.com... seconds 0.00, 999.999.999.999 Caching server.domain.com => 999.999.999.999 Connecting to server.domain.com[999.999.999.999]:80... seconds 0.00, connected. Created socket 1940. Releasing 00392958 (new refcount 1). ---request begin--- GET /directory/ HTTP/1.0 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; .NET CLR 1.1.4322) Host: server.domain.com Accept: */* Connection: Keep-Alive Authorization: Basic YmRudHYuYm9ybGFuZC5jb21cYnRwdXNlcjpuZEBzdHVmZg== ---request end--- HTTP request sent, awaiting response... HTTP/1.1 401 Unauthorized Content-Length: 1656 Content-Type: text/html Server: Microsoft-IIS/6.0 WWW-Authenticate: Negotiate WWW-Authenticate: NTLM X-Powered-By: ASP.NET Date: Mon, 24 May 2004 17:37:07 GMT Connection: keep-alive Found server.domain.com in host_name_addresses_map (00392958) Registered fd 1940 for persistent reuse. Closing fd 1940 Releasing 00392958 (new refcount 1). Invalidating fd 1940 from further reuse. Unknown authentication scheme. FINISHED --19:36:48-- Downloaded: 0 bytes in 0 files Any idea how to get this working? --jeroen
