> 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/knowledge-base/zh/virtual-machines/managing-files.md).

# 管理文件

该 **文件** 该部分提供一个集中位置，用于上传文件以供 VergeOS 使用。它支持 ISO、VM 磁盘映像、自定义品牌徽标，以及站点和租户之间的一般文件共享。

## 如何将文件上传到 VergeOS

要上传文件，请确保其采用受支持的格式之一。

{% hint style="info" %}
**其他扩展名可以上传到服务器，但 VergeOS 可能不会将其识别为可用。**
{% endhint %}

1. 选择 **文件** 从顶部菜单中，然后单击 **上传**.
2. 您也可以选择 **从 URL 上传** 如果您正在从其他站点共享文件或拥有一个 URL。

文件传输完成后，它将出现在 **文件** 列表中供使用。

## 创建公共链接

1. 要创建 **公共链接**，请选择一个文件并单击 **添加公共链接** ，位于左侧菜单中。
2. 选择用于共享文件的格式：

### 链接格式

* **匿名（uuid）**：将文件的 UUID 附加到链接末尾。
* **自定义**：允许在链接中使用自定义名称。
* **使用文件名**：将现有文件名和扩展名附加到链接末尾。

### 过期类型

* **永不过期**：该链接将无限期保持有效。
* **设置日期**：为链接设置特定的过期日期和时间。

该 **公共链接** 可与其他系统共享，用于一般文件共享，或与本地租户共享，以提供访问权限而无需互联网下载。不过，通过此方法共享会占用网络带宽。若要以更高效的方式将文件共享给租户，请参阅 [向租户共享文件](/knowledge-base/zh/tenants/sharing-files-to-tenants.md) 指南。

{% hint style="info" %}
**在“文件”部分，您还可以：**

* 操作 **公共链接**
* **下载** files
* **编辑** 文件名和存储层级
* **查看并移除引用** 到文件
* **删除** files
  {% endhint %}

***

{% hint style="info" %}
**文档信息**

* 最后更新：2024-08-29
* vergeOS 版本：4.12.6
  {% endhint %}


---

# 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/knowledge-base/zh/virtual-machines/managing-files.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.
