Why wget doesn't download data when the HTTP status is 4xx?

2020-05-10 Thread Peng Yu
Hi, $ curl --verbose ... ... < HTTP/1.1 403 Forbidden ... < { [359 bytes data] 100 814980 814980 0 50214 0 --:--:-- 0:00:01 --:--:-- 50183 When the above 403 code occurs, curl still can download the data. But wget just gives up. Is there a way to let wget download the data eve

Re: The relation of HTTP status code and wget exit status code

2020-05-10 Thread darnir
An explicit mapping table does not exist. However, man wget will tell you what errors result in which error codes. You can extrapolate from there. If you do make such a table, I would love to add it to info wget On May 10, 2020 6:19:34 AM GMT+02:00, Peng Yu wrote: >It is not clear what the m