it is part of wget 1.14, and it seems to work as expected here: $ wget -O- -q http://www.gnu.org/not_here.html | wc -c 0
$ wget --content-on-error -O- -q http://www.gnu.org/not_here.html | wc -c 7735 What problem are you having with it? "CCC DDD" <[email protected]> writes: > What version of wget is that on? I can't find any mention of it in the > manual, and it doesn't appear to work on 1.14 > > > > ----- Original Message ----- > > From: Giuseppe Scrivano > > Sent: 03/23/13 06:49 PM > > To: CCC DDD > > Subject: Re: [Bug-wget] An option to save error pages > > > > "CCC DDD" <[email protected]> writes: > > > An option for wget to download content after non-200 HTTP code would be > very useful. > > Does --content-on-error solve your problem? > > -- > Giuseppe > > > -- Giuseppe
