# 檔案管理

{% hint style="success" %}
本篇網頁在伺服器的 「檔案管理」 頁面。
{% endhint %}

在右上角有三個按鈕，創建資料夾、上傳和創建檔案。請繼續往下閱讀，以了解詳細功能。

<figure><img src="/files/iPSoY36wZOgF3D85zDvd" alt=""><figcaption></figcaption></figure>

## 創建資料夾

### 1. 在右上角點擊 「創建資料夾」。

<figure><img src="/files/9fCoVht7IlcrDrAjItqw" alt=""><figcaption></figcaption></figure>

### 2. 輸入資料夾名稱。

假如這個資料夾不是要創建在目前的目錄，你可以在資料夾名稱前，加上要創建在的目錄。\
例如：輸入 Path/Game，則資料夾會創建在 `伺服器主目錄/Path` 裡。\
\
你在哪個目錄底下創建資料夾，預設資料夾就會在那個目錄底下。

<figure><img src="/files/n0KNDKQCWyr71dqbKSPh" alt=""><figcaption></figcaption></figure>

## 上傳檔案

{% hint style="warning" %}
超過 1 GB 的檔案或資料夾請使用 SFTP 上傳。（如果無法上傳，也請使用 SFTP 上傳。）
{% endhint %}

### 1. 拖曳上傳。

直接將檔案拖曳到控制面板網頁，即可上傳

<figure><img src="/files/voiLKJDT15jtPJErhjoK" alt=""><figcaption></figcaption></figure>

### 2. 點擊 「上傳」 按鈕上傳。

<figure><img src="/files/HPuE9XUjo8LmMdoHPgvA" alt=""><figcaption></figcaption></figure>

## 創建檔案

### 1. 在右上角點擊 「創建檔案」。

<figure><img src="/files/CrzaFblNVLeiFJuM4UoN" alt=""><figcaption></figcaption></figure>

### 2. 即可開始編輯檔案。

<figure><img src="/files/9vAVQQZN15qZWIIu66ll" alt=""><figcaption></figcaption></figure>

### 3. 選擇檔案語言格式。

我們的網頁編輯器提供 35 種語言格式，可以在儲存內容前選擇檔案語言格式。

<figure><img src="/files/WEVXNC1xAlxAl7tTVZH9" alt=""><figcaption></figcaption></figure>

### 4. 儲存並創建檔案。

請輸入要儲存的檔案名稱與副檔名。

<figure><img src="/files/rK4LAhF2OSfbH2e9yDjR" alt=""><figcaption></figcaption></figure>

## 移動檔案

### 1. 選取檔案，點擊 「移動」。

<figure><img src="/files/iosJOKLwpuKHaqOZCRv4" alt=""><figcaption></figcaption></figure>

### 2. 輸入要移動到的目錄並移動檔案。

請在檔案前面加 `/` 分開檔案與目錄。\
假如要移動到 `plugins` 資料夾，則是在檔案名稱前新增 `plugins/` 路徑。

<figure><img src="/files/ImJDHaxZQDLhZOGq24eE" alt=""><figcaption></figcaption></figure>

## 重新命名

### 1. 點擊檔案旁的三個點，點 「重新命名」。

<figure><img src="/files/7MhaZlWdw91TfwzImZh4" alt=""><figcaption></figcaption></figure>

### 2. 輸入新的名稱，完成命名。

<figure><img src="/files/AOisYmI4ufsb36YvU59m" alt=""><figcaption></figcaption></figure>

## 調整權限

關於權限的分配可以參考此 <https://chmod-calculator.com/> 網站。

### 1. 點擊檔案旁的三個點，點 「調整權限」。

<figure><img src="/files/7bNXTEXpVKkmUmhVcyoO" alt=""><figcaption></figcaption></figure>

### 2. 輸入要更改的權限，並更新。

<figure><img src="/files/9HpDFNUYQurVUifZRsiv" alt=""><figcaption></figcaption></figure>

## 刪除檔案

### 1. 點擊檔案旁的三個點，點 「刪除檔案」。

<figure><img src="/files/a1jtcixVWbTrUW9RycBF" alt=""><figcaption></figcaption></figure>

### 2. 確認刪除。

{% hint style="danger" %}
請再三確認這個檔案是否要刪除，刪除後無法再次找回。
{% endhint %}

<figure><img src="/files/ZwYg5N7uDwkkRrkislX8" alt=""><figcaption></figcaption></figure>

## 批次調整檔案。

### 1. 在選取匡選擇要調整檔案。

<figure><img src="/files/2gyHeDCXUYShQGPK24fY" alt=""><figcaption></figcaption></figure>

### 2. 選擇要移動檔案、壓縮檔案還是刪除檔案。

<figure><img src="/files/hBAPxcuolwqvybvlRg7H" alt=""><figcaption></figcaption></figure>


---

# 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.cheapserver.tw/panel/server/files.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.
