Martin Baehr <[EMAIL PROTECTED]> writes:
> monitored pages are marked as uptodate even if the download fails
> because the server is not unreachable.
The monitored page index marks the page as up to date when it has been
requested, not when it has been fetched to the satisfaction of the
user.
> running fetch again when the problem is resolved does nothing,
> because wwwoffle believes the pages are uptodate.
The monitor worked, it was the fetch that did not.
> similarily requests are removed from the outgoing directory
> even if the download fails. in my case the disk was full.
Removing the files from the outgoing directory is an important part of
making sure that each requested file is only fetched once. Keeping a
file in the outgoing directory if it fails may mean that a file will
fail over and over again until each time that you go online it spends
all of its time trying to get the same files (and always failing).
> updating outgoing and monitor should only be done after the download
> was found to be successfull. in case of a full disk it might even be
> usefull to stop fetching alltogether.
> (when a request comes from a browser, it might also be usefull
> to give a message if writing the page to disk fails instead of
> sending an incomplete page)
The disk full case is difficult to handle since there is not usually
much that can be done to handle it. Part of the page has already been
sent to the browser, it is not possible to replace it with an error
message.
> on a related note, it would be nice if fetching could be interrupted
> to be resumed later, without having to stop wwwoffle alltogether...
If you are going offline then you can use 'wwwoffle -offline' to stop
fetching. If you want to stop fetching and not go offline then you
are correct, there is no way to do it. I looked into making this
change and it was not trivial, so it has not been done.
--
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop [EMAIL PROTECTED]
http://www.gedanken.demon.co.uk/
WWWOFFLE users page:
http://www.gedanken.demon.co.uk/wwwoffle/version-2.7/user.html