I am trying to mirror an internal site ( running on win2003 server, IIS6 ) and wget won't download files which have been modified at the server I am trying with the following command:
wget.exe -v -c -S -N -r -l1 --no-parent -nd -A *.txt -np -P wget/ http://batumi:877/ I am trying to just get 3 files ( a.txt, b.txt, c.txt ), below is the response. I run wget once and downloaded the files, then changed 2 of the files on the server. When running wget agai it won't recognize the files changed. Please advise on what I am doing wrong! Thank You! SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc syswgetrc = c:/progra~1/wget/etc/wgetrc --2008-11-12 18:44:21-- http://batumi:877/ Resolving batumi... 10.10.10.10, 192.168.2.113, 192.168.159.1, ... Connecting to batumi 10.10.10.10 :877... connected. HTTP request sent, awaiting response... HTTP/1.1 200 OK Content-Length: 509 Content-Type: text/html Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Date: Wed, 12 Nov 2008 16:44:21 GMT Connection: keep-alive Length: 509 [text/html] Saving to: `wget/index.html' 100%[================================================================== Last-modified header missing -- time-stamps turned off. 2008-11-12 18:44:21 (34.8 MB/s) - `wget/index.html' saved [509/509] Loading robots.txt; please ignore errors. --2008-11-12 18:44:21-- http://batumi:877/robots.txt Reusing existing connection to batumi:877. HTTP request sent, awaiting response... HTTP/1.1 404 Not Found Content-Length: 1635 Content-Type: text/html Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Date: Wed, 12 Nov 2008 16:44:21 GMT Connection: keep-alive 2008-11-12 18:44:21 ERROR 404: Not Found. Removing wget/index.html since it should be rejected. --2008-11-12 18:44:21-- http://batumi:877/a.txt Reusing existing connection to batumi:877. HTTP request sent, awaiting response... HTTP/1.1 416 Requested Range Not Satisfiable Content-Length: 0 Content-Range: bytes */14 Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Date: Wed, 12 Nov 2008 16:44:21 GMT Connection: keep-alive The file is already fully retrieved; nothing to do. --2008-11-12 18:44:21-- http://batumi:877/b.txt Connecting to batumi|10.10.10.10|:877... connected. HTTP request sent, awaiting response... HTTP/1.1 200 OK Content-Length: 0 Content-Type: text/plain Last-Modified: Wed, 12 Nov 2008 16:00:10 GMT Accept-Ranges: bytes ETag: "0213cbddf44c91:f51" Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Date: Wed, 12 Nov 2008 16:44:21 GMT Connection: keep-alive Length: 0 [text/plain] Server file no newer than local file `wget/b.txt' -- not retrieving. --2008-11-12 18:44:21-- http://batumi:877/c.txt Reusing existing connection to batumi:877. HTTP request sent, awaiting response... HTTP/1.1 416 Requested Range Not Satisfiable Content-Length: 0 Content-Range: bytes */19 Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Date: Wed, 12 Nov 2008 16:44:21 GMT Connection: keep-alive The file is already fully retrieved; nothing to do. FINISHED --2008-11-12 18:44:21-- Downloaded: 1 files, 509 in 0s (34.8 MB/s) Best regard, Petko
