(I am not subscribed to the bug-list)

        Hello,

        I use wget to retreive recurively images from a site,
which are randomly changed on a daily basis . I wrote
small batch which worked until sistem upgrade. Now the
new version of wget is installed but it aborts when
any file already exists.
        I call it in the following way (I hid the URL and
proxies):

wget -np -nc -r -l 1    URL

        I retreives new files until it founds an existing
file, then it aborts. I tried this syntax with a
single image URL, it aborts again.
        Hint: I suspect that wget abort whether or not is -r
option is set, but it shoudn't end in this case!

        Regards,
        Aleksandar Radulovic


        Here is the debug (-d) log:

tcsh>  wget -d -np -nc http://www. ......(hidden).....
.jpg
Setting --no (noparent) to 1
Setting --no (noclobber) to 1
DEBUG output created by Wget 1.10.2 (Red Hat modified)
on linux-gnu.

--09:47:17--  http://www. ......(hidden)..... .jpg
Resolving proxy.......(hidden).....
Caching proxy.......(hidden).....
Connecting to proxy.......(hidden).....
Created socket 3.
Releasing 0x084f4b80 (new refcount 1).

---request begin---
GET http://www. ......(hidden)..... .jpg HTTP/1.0
User-Agent: Wget/1.10.2 (Red Hat modified)
Accept: */*
Host: ......(hidden).....

---request end---
Proxy request sent, awaiting response...
---response begin---
HTTP/1.0 200 OK
Date: Mon, 18 Feb 2008 11:44:33 GMT
Server: Apache/2.0.46 (Red Hat)
Last-Modified: Sun, 17 Feb 2008 12:09:37 GMT
ETag: "68029-74ddd-83604240"
Accept-Ranges: bytes
Content-Length: 478685
Content-Type: image/jpeg
X-Cache: MISS from proxy........(hidden).....
X-Cache-Lookup: MISS from proxy........(hidden).....
Via: 1.0 proxy........(hidden).....
(squid/2.6.STABLE6)
Proxy-Connection: close

---response end---
200 OK
hs->local_file is: XXXXXXXXXXXXXX.jpg (existing)
File `XXXXXXXXXXXXXX.jpg .jpg' already there; not
retrieving.

Abort






      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Reply via email to