"Hrvoje Niksic" <[EMAIL PROTECTED]> said:
> Wget already has code that closes and reopens "output document" if
> it's a regular file. Perhaps the same should be done here...
Allthough IE or other browsers doesn't seems to do it, I think it would
be a good thing to honour the "Last-Modified" head
"Gisle Vanem" <[EMAIL PROTECTED]> writes:
> It seems touch() is called on an open file and hence utime() is
> either silently ignored or causing "Access denied" on Watcom.
[...]
>wget -d -Otcpdump.tgz http://www.tcpdump.org/daily/tcpdump-2003.09.29.tar.gz
> [touch] Should IMHO be called after the
> It seems touch() is called on an open file and hence
> utime() is either silently ignored or causing "Access denied" on
> Watcom.
Correction; Watcom says "Permission denied".
--gv
It seems touch() is called on an open file and hence
utime() is either silently ignored or causing "Access denied" on
Watcom.
I added this inside touch():
DEBUGP (("touching %s to %.24s\n", file, asctime(localtime(&tm;
And ran:
>wget -d -Otcpdump.tgz http://www.tcpdump.org/daily/tcpdump-20