Hi, first this is not a real bug and is more like a wishlist item.
So the problem: When invoking wget to retrieve a file via ftp all is fine if the file exists and wget is able to retrieve it. The return code from wget is 0. If the file is not found on the server the return code is 1. Good. I expected that wget would behave the same when using file globbing. If the file can be found via a pattern and can be downloaded wget returns with 0. But if the file can not be found after successfully retrieving a directory listing wget returns with 0, too! IMHO here wget should exit with the same error code (1) as above. I searched the docs if this behaviour is mentioned somewhere but have not found it mentioned. Therefor i am sending this email. Sorry if i missed this detail mentioned somewehere. regards --lars