topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 14, 2024, 3:23 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: FARR alias for multi threaded file download with aria2  (Read 3628 times)

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,169
    • View Profile
    • Donate to Member
FARR alias for multi threaded file download with aria2
« on: November 28, 2015, 01:06 PM »
aria2 is "a lightweight multi-protocol & multi-source command-line download utility". It can speed up download of large .iso files by using multiple threads.

Get and unzip aria2 and make a new alias in FARR with these settings

name:
dl

regular expression pattern:
^dl (.*)$

Results:
dl aria2 $$1 | C:\folder\aria2c.exe -x 15 -s 15 -k 3M -d C:\downloads "$$1"

Note: change C:\folder\ and C:\downloads\ to match the folders on your computer. You can tweak the number of threads to use (-x -s values) and split file size (-k value) to max out your internet speed. Details on aria2 man page.

To use it put a file URI on the clipboard, open FARR and type "dl " and paste the url. A command line window pops up and shows the download progress.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,914
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: FARR alias for multi threaded file download with aria2
« Reply #1 on: November 28, 2015, 01:33 PM »
nice, thanks for sharing!