尝试镜像本地Intranet站点,并使用'wget'找到以前的问题.它适用于匿名网站,但我无法在期望用户名\密码(具有集成Windows身份验证的IIS)的网站上使用它.
这是我传递的内容:
wget -c --http-user ='domain\user'-- http -password = pwd http:// local/site -dv
这是调试输出(注意我显然用虚拟值替换了一些):
Setting --verbose (verbose) to 1 DEBUG output created by Wget 1.11.4 on Windows-MSVC. --2009-07-14 09:39:04-- http://local/site Host `local' has not issued a general basic challenge. Resolving local... seconds 0.00, x.x.x.x Caching local => x.x.x.x Connecting to local|x.x.x.x|:80... seconds 0.00, connected. Created socket 1896. Releasing 0x003e32b0 (new refcount 1). ---request begin--- GET /site/ HTTP/1.0 User-Agent: Wget/1.11.4 Accept: */* Host: local Connection: Keep-Alive ---request end--- HTTP request sent, …