Why does aria2c fail on downloading the URL below?
http://www.fosshub.com/download/mkvtoolnix-unicode-6.4.1-setup.exe
it comes from this site: http://www.fosshub.com/MKVToolNix.html
I have tried it with Internet Download Manager and the built-in downloader in Firefox, works there. Aria2c downloads the faq.html file instead of the exe...
The command I run is:
aria2c "http://mirror3.fosshub.com/programs/mkvtoolnix-unicode-6.4.1-setup.exe"
The download link http://mirror3.fosshub.com/programs/mkvtoolnix-unicode-6.4.1-setup.exe needs specific referer header field. Otherwise, the server redirects you to faq.html.
Try this:
Wow.. I never would have thought of that. Thanks, Tsujikawa! Keep up the good work.
Since the ticket is still open..: I ran into some trouble with a github link:
https://codeload.github.com/pigfoot/mozbuilds/zip/master
output from aria2c:
Exception: [AbstractCommand.cc:312] errorCode=1 URI=https://codeload.github.com/pigfoot/mozbuilds/zip/master
-> [SocketCore.cc:851] errorCode=1 SSL/TLS handshake failure: unable to get local issuer certificate
Any ideas how I can get around this?
Last edit: Nisto 2013-10-01
That is SSL/TLS certificate validation error. The CA certs must be specified using --ca-certificate option. If you are using Ubuntu/Debian, it is /etc/ssl/certs/ca-certificates.crt
If you don't care the host validation, which voids a part of purpose of SSL/TLS, you can specify --check-certificate=false to skip validation.