Re: Bug (wget 1.8.2): Wget downloads files rejected with -R.

2005-01-22 Thread jens . roesner
Hi Jason!

If I understood you correctly, this quote from the manual should help you:
***
Note that these two options [accept and reject based on filenames] do not
affect the downloading of HTML files; Wget must load all the HTMLs to know
where to go at all--recursive retrieval would make no sense otherwise.
***

If you are seeing wget behaviour different from this, please a) update your
wget and b) provide more details where/how it happens.

CU  good luck!
Jens (just another user)



 When the -R option is specified to reject files by name in recursive mode,
 wget downloads them anyway then deletes them after downloading. This is a
 problem when you are trying to be picky about the files you are
downloading
 to save bandwidth. Since wget appears to know the name of the file it is
 downloading before it is downloaded (even if the specified URL is
redirected
 to a different filename), then it should not bother downloading the file
 at all if it is going to delete it immediately after downloading it.
 
 - Jason Cipriani
 

-- 
GMX im TV ... Die Gedanken sind frei ... Schon gesehen?
Jetzt Spot online ansehen: http://www.gmx.net/de/go/tv-spot


Re: bug in 1.8.2 with

2003-10-14 Thread Hrvoje Niksic
You're right -- that code was broken.  Thanks for the patch; I've now
applied it to CVS with the following ChangeLog entry:

2003-10-15  Philip Stadermann  [EMAIL PROTECTED]

* ftp.c (ftp_retrieve_glob): Correctly loop through the list whose
elements might have been deleted.