Aria2 and magnets

@lbutlr kremels at kreme.com
Thu Mar 5 00:19:11 UTC 2020


Brand new install of aria2 and I tried to grab the FreBSD 12.1 amd64 image via a magnet link:

# aria2c 'magnet:?xt=urn:btih:da22f9b3339bf44c0a2e33626658873253b67f8d&dn=FreeBSD-12.1-RELEASE-amd64-memstick.img’

After about 30 minutes the only thing I get is updates showing 0 Bytes downloaded.

 *** Download Progress Summary as of Wed Mar  4 17:06:48 2020 ***                                                             
==============================================================================================================================
[#4209c2 0B/0B CN:0 SD:0 DL:0B]
FILE: [MEMORY][METADATA]FreeBSD-12.1-RELEASE-amd64-memstick.img
------------------------------------------------------------------------------------------------------------------------------

[#4209c2 0B/0B CN:0 SD:0 DL:0B]  

Downloading a torrent file, in this case Ubuntu server, works fine:

aria2c "http://releases.ubuntu.com/18.04/ubuntu-18.04.4-live-server-amd64.iso.torrent?_ga=2.195131947.685826887.1583367284-2079251896.1583367284”

Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
5c5de9|OK  |   309KiB/s|/root/ubuntu-18.04.4-live-server-amd64.iso.torrent
5b7f37|OK  |    36MiB/s|/root/ubuntu-18.04.4-live-server-amd64.iso

With a successful download in a few seconds.

I mean, I can use torrent files, but I prefer dealing with magnets and some files (like the FreeBSD images) don’t have .torrents.



More information about the freebsd-ports mailing list