Download with aria2 from authenticated server

I have a file on the server under my account and I need to upload it. Let's say url http://my.server/files/myfile

. I need to authenticate with a username and password. I can do it with the wget

following

 wget http://username:password@my.server/files/myfile

      

and it works. However, after trying the same witharia2

 aria2c http://username:password@my.server/files/myfile

      

with error message

-> [HttpSkipResponseCommand.cc:211] errorCode=24 Authorization failed.

      

Is there a way to fix this? I've also tried options --http-user

and --http-passwd

with no luck.

+3


source to share





All Articles