Let's take an example in practice. When there is a bad network connection, I try wget with '-nc' directly first, if it fails, then I'll try it with proxy. If it says "File * already there ; not retrieving.", and returns 1 as described (error occurred, failed), that is so weird!
And '-N' is not always working as desired, because of "Last-modified header missing". One example: wget -N https://www.gnu.org/software/wget/manual/html_node/Download-Options.html Best Regards, YX Hao -----Original Message----- From: Dale R. Worley To: Tim Rühsen Cc: lifenjoine; bug-wget Subject: Re: [Bug-wget] Any explanation for the '-nc' returned value? Tim Rühsen <[email protected]> writes: > -nd, even if -r or -p are in effect.) When -nc is > specified, this behavior is suppressed, and Wget will > refuse to download newer copies of file. Though strictly speaking, this doesn't say that wget will then exit with error code 1. Dale
