Wget: server returned error: http/1.1 401 unauthorized

Hi, I am trying to download a file from a URL using wget and I get the following output:
wget: server returned error: http/1.1 401 unauthorized

When I try downloading the same from the windows terminal, I don’t have any problem. I read that using wget with the option --auth-no-challenge may work. However it seems that wget included in coreelec does not have that option.

Any suggestion or workaround?

Thanks.

Wget is from busybox package which has limited options.
But curl is a full package.

Thanks for your answer!

When I tried wget I also tried curl and it didn’t work. But after reading your comment I have tried again and it worked!!! (I definitely did something wrong on my first try!)

Thanks!!!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.