> For the complete documentation index, see [llms.txt](https://docs-cn.filswan.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-cn.filswan.com/swan-provider/chang-jian-wen-ti/4.-aria2downloaddir-he-aria2candidatedirs-de-qu-bie.md).

# 4. aria2\_download\_dir 和aria2\_candidate\_dirs 的区别

在最新版本 2.2.0-rc1 中，

* `aria2_download_dir` 是唯一的 CAR 文件下载路径；
* `aria2_candidate_dirs` 是 CAR 文件可以预先存在的路径，通过 Swan Provider 下载的文件不会保存在这个路径下；

如果存储提供商的订单的 CAR 文件都是通过 Swan Provider 下载得到的，可以将`aria2_download_dir`和`aria2_candidate_dirs`设置为同一个；

如果 Storage Provider 订单 CAR 文件是在订单发送之前提前存储在本地路径，这些路径可以配置在`aria2_candidate_dirs`中，并且支持多个目录，订单发送以后，Swan Provider 会优先从`aria2_candidate_dirs`目录中查找订单对应的 CAR 文件。

> 注：为了充分利用单个路径的数据读取性能，目前 Swan Provider 会限制单个路径只能有一个文件会被导入。

如遇任何问题，请在 [FilSwan Discord](https://filswan.com/discord) 频道联系我们。
