# 上传 CAR 文件到 IPFS

:bell:- 需要正确配置 `[ipfs_server].download_url_prefix` 和 `[ipfs_server].upload_url_prefix`

```shell
swan-client upload -input-dir [input_file_dir]

OPTIONS:
   --input-dir value, -i value  源文件所在的目录

```

**此步骤后更新的文件：**

* `car.json`: CAR 文件的 `CarFileUrl` 将被更新
* `car.csv`: CAR 文件的 `CarFileUrl` 将被更新


---

# 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-client/chuang-jian-ren-wu-liu-cheng/filecoin-jiao-yi-fa-song-yin-qing/shang-chuan-car-wen-jian-dao-ipfs.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.
