Wget doesn't do that on default. Add --content-on-error to get the
content even with 4xx errors.

Tim

On 11.05.20 00:09, Peng Yu wrote:
> Hi,
> 
> $ curl --verbose ...
> ...
> < HTTP/1.1 403 Forbidden
> ...
> <
> { [359 bytes data]
> 100 81498    0 81498    0     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 even the HTTP status is
> 4xx? Thanks.
> 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to