I build a little tool (IoT) with an Intel Compute Stick which downloads a torrent content and then seed it.
And it works.
Now I want to seed the files I have downloaded EVEN after a restart and without re-downloading them (for obvious reasons...)
There is no way to do it with any option on aria2 (here is the doc) and I want to know if there is a trick I can do or any other COMMAND LINE application that can do it ?
And aria2 actually checks how many bytes are uploaded against completed size (this seed ratio check gets started when torrent download finished, so completed size == total file size. This may not be true if --select-file is used, and partial downloads are done).
aria2 is a utility for downloading files. The supported protocols are HTTP (S), FTP, SFTP, BitTorrent, and Metalink. aria2 can download a file from multiple sources/protocols and tries to utilize your maximum download bandwidth.
If aria2 could not parse bencoded file (usually ".torrent" file). If ".torrent" file was corrupted or missing information that aria2 needed. If Magnet URI was bad. If bad/unrecognized option was given or unexpected option argument was given. If the remote server was unable to handle the request due to a temporary overloading or maintenance.
Optimizes the number of concurrent downloads according to the bandwidth available. aria2 uses the download speed observed in the previous downloads to adapt the number of downloads launched in parallel according to the rule N = A + B Log10 (speed in Mbps).
It looks like you can do this with the -V option, although it does not look to be very well documented. From this web page:
You can seed downloaded file using -V option. This will first check piece hashes for the downloaded file.
aria2c -V -d/path/to/dir file.torrent
I'd suggest also adding --seed-ratio=0.0
so that you'll seed the file forever:
aria2c -V --seed-ratio=0.0 -d/path/to/dir file.torrent
I understand that it's an old question, but in case someone (like me) finds it -
The -V
options works just fine, but if you do not want to verify all files before seeding you can instead use --bt-seed-unverified
.
Official documentation.
For example, consider the following folder structure:
To seed torrents you can use this command from directory with .torrent files: ls | aria2c --bt-seed-unverified --seed-ratio=0.0 -d "../" -i -
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With