Aria2 不要重新下载文件

Aria2 don't re-download file

我正在使用 aria2 下载动态生成的文件列表。我希望它跳过下载目录中已有的文件,但它没有这样做,而是重新下载它们并在文件名中添加 .1 。我尝试使用 --check-integrity=true,但这并没有改变行为。有没有办法让它跳过已经存在的文件?

尝试将 --continue=true 添加到您的命令中。

根据 aria2c(1) 手册页,-c, --continue[=true|false]:

Continue downloading a partially downloaded file. Use this option to resume a download started by a web browser or another program which downloads files sequentially from the beginning. Currently this option is only applicable to HTTP(S)/FTP downloads.

根据this issue应该走的路

--auto-file-renaming=false

If a control file (.aria2) exists then the download will resume, otherwise if no control file exists then since --allow-overwrite is false by default the file will not be re-downloaded.