Is there a way to use https authentication with Axel to download files?

I have gone through this answer and tried what was written, but to no extent. I got
HTTP/1.1 401 Unauthorized
as the output for this input command:
axel -n 60 -k -H "Authorisation: Basic [some hash string]" "https://xxx.rar"
for which the hash string was generated using :
echo -n "username:password" | openssl base64

So ultimately, I want to know, what do I change in the input command to be able to download the file?


Standard url scheme is: proto://user:password@host:port/path

axel -n 60 -k "https://user:password@host/xxx.rar" 
  • So I tried this and got this as the output, HTTP/1.1 404 Not Found for the input axel -n 60 "https://user:password@host/xxx.rar, but I am thinking, since the path has the hosting name as well, should I repeat it or should I just cancel that particular part? – Pratyush Manocha Nov 30 '17 at 3:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.