set it in header by using -H option.
Example:
axel -a -n 4 -H 'Authorization: Basic [hashstring]' URL
Where [hashstring]
is base64 encoded string from string "username:password".
for base64 encoding:
echo -n 'input' | openssl base64
- ۰ نظر
- ۲۳ مرداد ۹۴ ، ۲۱:۳۵