I'm running aria2c in daemon mode and feed it requests via xml-rpc to get proper queuing etc.
But the download state does not survive restart, so I have to give it URIs again, but now I have to exclude those that were finished, or they would be fetched twice (no .aria2 state for them).
It's hard to maintain such a file manually, so it would be great if aria2 could store and update it as download progresses, and then accept is as an input file on the next start.
Thanks.
Implemented in r2039
From ChangeLog:
Added --save-session=FILE option. This option saves
error/unfinished downloads to FILE on exit. You can pass this
output file to aria2c with -i option on restart. Please note that
downloads added by aria2.addTorrent and aria2.addMetalink XML-RPC
method are not saved.