> For the complete documentation index, see [llms.txt](https://docs.verge.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verge.io/run-the-platform/zh/cun-chu/uploading-files-to-vsan.md).

# 将文件上传到 vSAN

该 *文件* 此部分提供将文件上传到 VergeOS vSAN 的功能，使 \*.iso 文件、磁盘映像、VM 定义文件等可轻松用于创建/安装/导入 VM。

{% hint style="info" %}
可选地，上传到该处的文件 *文件* 部分可通过公开链接共享。
{% endhint %}

## 从本地计算机上传文件

1. 选择 **文件** 从顶部菜单。
2. 选择 **上传**.
3. 单击 **选择文件** 按钮
4. 会显示文件浏览器对话框。浏览到所需文件夹并选择所需文件。按住 Ctrl 或 Shift 键可进行多选。
5. 单击 **打开** 按钮
   * 所选文件以及大小和类型将显示出来。
6. 单击 **上传** 按钮。
7. 将出现“上传进度”弹窗，显示上传进度。必要时可在此窗口取消或暂停上传。上传完成后，文件将在“上传进度”弹窗中以绿色显示。

{% hint style="warning" %}
重新加载浏览器窗口会干扰文件上传。
{% endhint %}

## 从网页链接（URL）上传文件

1. 选择 **文件** 从顶部菜单。
2. 选择 **从 URL 上传**
3. 输入有效的 URL（例如： `https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso`)
4. 输入所需的 **名称** 文件内容。
5. 可选地，可以指定 **文件描述** 可输入以提供更多信息。
6. 选择一个 **首选层级** 或者将设置保留为默认值。
7. 该 **允许使用不安全的 SSL 链接** 该选项将允许从没有有效 CA 签名证书的网站下载文件（例如证书缺失、无效、过期或自签名）。
8. 该 **跳过标头检查** 该选项会绕过标准标头安全验证策略，可能会提高上传速度，但也可能增加数据完整性和安全风险。请谨慎使用。
9. 单击 **提交** 按钮
10. 文件将显示在 *文件* 列表中。

## 为已上传文件创建下载链接

1. 选择 **文件** 从顶部菜单。
2. 选择所需的 **文件** ，从列表中。
3. 单击 **添加公开链接** 左侧菜单中的。
4. 选择一个 **链接格式**
   * **匿名（UUID）** — 使用 GUID（128 位数字）创建公开下载链接 *例如： `https://verge.example.com/273b5d6a--b205-1e1b-6ae6-01cfa7ed1233`*
   * **自定义** — 使用输入的名称创建公开下载链接 *例如： `https://verge.example.com/customname`*
   * **使用文件名（推荐）** — 使用原始文件名创建公开下载链接 *例如： `https://verge.example.com/virtio-win-1.9.6.iso`*
5. 选择 **到期类型**
   * **永不过期（默认）** 以使下载链接永久有效。（如有需要，稍后可手动编辑或删除公开链接。）
   * **设置日期** 以选择停止下载链接的具体日期/时间。
6. 单击 **提交** 以保存链接。

![媒体映像链接复制](/files/4aca80d3f9096eeb8140b333912ee3babcd0f8e9)

文件列表将显示。给定文件最右侧会出现下载选项：

* 单击 **链接** 以直接从页面下载该文件。
* 单击 **复制图标** 以将下载地址复制到剪贴板。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.verge.io/run-the-platform/zh/cun-chu/uploading-files-to-vsan.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
