Menu

#191 save session for aria2.addTorrent and aria2.addMetalink?

closed
nobody
None
5
2014-08-21
2011-02-14
lainme
No

I want to resume download or seeding after a restart. Currently I have to write a script to check every files in my download directory and add then all the .metalink or .torrent file.

If save-session can work with aria2.addTorrent and aria2.addMetalink, the session control with be more complete can easy

Discussion

  • tujikawa

    tujikawa - 2011-02-14

    The problem is that we have no file path or URI pointing to the data added by addTorrent or addMetalink.
    One solution is that save these data as file in the directory where --dir points to.
    I'll make this change.

     
  • tujikawa

    tujikawa - 2011-02-15

    I made following changes and pushed to master branch:

    Save downloads added by aria2.addTorrent or aria2.addMetalink in
    --save-session file.
    
    Uploaded data are saved as file named hex string of SHA-1 hash of
    uploaded data plus extension(".torrent" for torrent and ".metalink"
    for metalink). For example,
    0a3893293e27ac0490424c06de4d09242215f0a6.torrent. The directory where
    these files are saved is specified by --dir option. If the same file exists, it is overwritten.
    

    These file paths are written in --save-session file.

     

Log in to post a comment.

Auth0 Logo