# 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) 频道联系我们。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-cn.filswan.com/swan-provider/chang-jian-wen-ti/4.-aria2downloaddir-he-aria2candidatedirs-de-qu-bie.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
