P3TERX / Aria2-Pro-Docker

Aria2 Pro | A perfect Aria2 Docker image | 更好用的 Aria2 Docker 容器镜像
https://hub.docker.com/r/p3terx/aria2-pro
MIT License
3.19k stars 375 forks source link

SPECIAL_MODE=move模式不符合预期 #123

Open seasicknes opened 1 year ago

seasicknes commented 1 year ago

开启SPECIAL_MODE=move功能,当前程序为手动指定下载目录{Custom Download Directory}后,文件会下载到{Custom Download Directory},但是文件下载完成后,会自动移动到{Destination Path}(/downloads/completed/)目录中。 我理解的应该是下载过程中存放在{Aria2 Download Directory}(/downloads)中下载完成后,再移动到 {Custom Download Directory}或 {Destination Path}

mrbruce516 commented 6 months ago

我之前也碰到这个问题,去读了一下官方文档,解决了。

image

附上我的jsonrpc调用示例:

{
    "jsonrpc": "2.0",
    "method": "aria2.addUri",
    "id": "1",
    "params": [
        "token:xxxxxx",
        [
            {$url}
        ],
        {
            "dir":"/downloads/$你需要下载完成放过去的目录"
        }   
    ]
}