Needs update to latest aria2

  • sam bul
    sam bul
    2013-12-13

    Other things that may be added to RC GUI:
    - Local Options per each torrent (Up/Down Speed, file download folder, *.torrent download folder, etc) using aria2.changeOption(gid, options);
    - individual files download status, when one torrent consists of many files;
    - add Open Input File to Add options;
    - own config file or a setting to link aria2.cfg file.

    When aria2 is run from Windows by doubleclick, it creates C:\Users\"user_name"\.aria2 folder for config files. However, when aria2c is run from CMD, it doesn't, and the links to cfg files are broken. So the user may need to manually create that folder, and add aria2.conf to it. Example of aria2.cfg:


    # Aria2c configuration file
    # Options: http://aria2.sourceforge.net/manual/en/html/aria2c.html#description

    enable-rpc=true
    rpc-listen-all=true
    seed-ratio=1.0
    seed-time=30
    max-concurrent-downloads=4
    max-upload-limit=2K
    max-overall-upload-limit=10K
    ftp-pasv=true
    # rpc-user=
    # rpc-password=
    file-allocation=falloc
    continue=true
    download-result=full
    conf-path=C:\Users\Sam\.aria2\aria2.conf
    dht-file-path=C:\Users\Sam\.aria2\dht.dat
    dht-file-path6=C:\Users\Sam\.aria2\dht6.dat
    dir=M:\Downloads\Torrents
    rpc-save-upload-metadata=true
    save-session=C:\Users\Sam\.aria2\session.txt
    save-session-interval=15
    # force-save=true
    # input-file=
    # deferred-input=
    # check-integrity=
    log-level=error
    log=C:\Users\Sam\.aria2\aria.log


    When aria2RC is launched, it can run a command like:
    "full_path"\aria2c --conf-path=C:\Users\Sam\.aria2\aria2.conf

    so all aria2 Global Options will be populated properly in Aria2C, and may not require changes by user.

    A saved unfinished session or input file can also be added in Aria2RC as an URI:
    file://localhost/C:/Users/Sam/.aria2/session.txt

    If aria2 isn't run as a Windows service (i.e. installed with nssm http://nssm.cc/), and its impossible to start it from aria2RC, there is workaround:
    - place aria2 folder into aria2RC installed folder, and start aria2RC by a Windows shortcut to a saved in the same folder aria2.bat :


    @ECHO OFF
    start /min aria2start.bat


    Where aria2start.bat is:


    @ECHO OFF
    rem aria2 and remote control GUI startup
    start "Aria2c Remote" aria2cremotecontrol.exe
    "path_to_aria2"\aria2c --conf-path=C:\Users\Sam\.aria2\aria2.conf
    exit


     
    Last edit: sam bul 2013-12-14