hi,
 
  i'm using the --tries=0 option for getting some files.
sometimes wget fails to get the file when the server closes
the connection and wget moves on skipping the file.
 
this seems to me an incorrect behaviour where
the --tries=0 option should try to get the file correctly
for infinite tries.
 
here are the wget logs.
 
 
DEBUG output created by Wget 1.5.3 on freebsd4.0.
 
parseurl ("http://online.reuters.co.jp/Online_Reports/India//BZ/India-83029-1.xml") -> host online.reuters.co.jp -> opath Online_Re\
ports/India//BZ/India-83029-1.xml -> dir Online_Reports/India//BZ -> file India-83029-1.xml -> ndir Online_Reports/India/BZ
--09:50:18--  http://online.reuters.co.jp:80/Online_Reports/India/BZ/India-83029-1.xml
           => `/home/feeds/in/reuters_jp_india_pre/India-83029-1.xml'
Connecting to online.reuters.co.jp:80... Created fd 5.
connected!
---request begin---
GET /Online_Reports/India/BZ/India-83029-1.xml HTTP/1.0^M
User-Agent: Wget/1.5.3^M
Host: online.reuters.co.jp:80^M
Accept: */*^M
^M
---request end---
HTTP request sent, awaiting response... HTTP/1.1 401 Unauthorized
Server: Netscape-Enterprise/3.6 SP3
Date: Thu, 01 Aug 2002 09:45:26 GMT
WWW-authenticate: Basic realm="Reuters Online Services"
Content-length: 223
Content-type: text/html
Connection: close
 
 
Closing fd 5
Connecting to online.reuters.co.jp:80... Created fd 5.
connected!
---request begin---
GET /Online_Reports/India/BZ/India-83029-1.xml HTTP/1.0^M
User-Agent: Wget/1.5.3^M
Host: online.reuters.co.jp:80^M
Accept: */*^M
Authorization: Basic eWFob29fc2c6dVBMRG55VFI=^M
^M
---request end---
HTTP request sent, awaiting response... HTTP/1.1 200 OK
Server: Netscape-Enterprise/3.6 SP3
Date: Thu, 01 Aug 2002 09:45:27 GMT
Content-type: text/plain
Last-modified: Thu, 01 Aug 2002 09:26:20 GMT
Content-length: 2695
Accept-ranges: bytes
Connection: close
 
 
Length: 2,695 [text/plain]
 
    0K ->                                                        [  0%]
 
Closing fd 5
10:01:36 (0.00 B/s) - Read error at byte 0/2695 (Connection reset by peer). Giving up.
 
 
thx.
 
yash
 
Technical Y!
Yahoo! India
http://www.yahoo.co.in

Reply via email to