bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] How to ignore errors with time stamping


From: Morten Lemvigh
Subject: [Bug-wget] How to ignore errors with time stamping
Date: Thu, 11 Dec 2008 09:17:15 +0100
User-agent: Thunderbird 2.0.0.18 (X11/20081125)

I'm having a problem retrieving a page, when I use the time stamping option.

When I run wget with:
wget -N 'http://eur-lex.europa.eu/JOHtml.do?uri=OJ:C:2007:306:SOM:EN:HTML'

the file is downloaded, but I get the message:
"Last-modified header missing -- time-stamps turned off."

If I run the command a second time, I get an "ERROR 500: Internal Server Error." and wget exits. If I leave the time stamping option out, the document is retrieved again.

Is there a way to make wget ignore missing Last-modified headers, and just retrieve the document? When mirroring a site wget will stop and not follow any links on a page, which doesn't send a Last-modified header. The only alternative I've found, is to retrieve all documents without time stamping - and that's a horrible way to mirror...

Thanks,
Morten




reply via email to

[Prev in Thread] Current Thread [Next in Thread]