# 透過 SFTP 管理檔案

{% hint style="success" %}
本篇網頁在伺服器的 「其他設定」 頁面。
{% endhint %}

{% hint style="danger" %}
如果你還沒有為控制面板帳號設定密碼，請先查看 [重設密碼](/panel/password.md)來重設密碼。
{% endhint %}

### 1. 進入其他設定頁面。

進入其他設定頁面後你將會看到 「SFTP 連線資訊」。

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

### 2. 下載連線工具。

如果你還沒下載連線工具，請先透過 「下載 SFTP 工具」 按鈕下載。\
或是點擊左邊 [FileZilla](https://filezilla-project.org/) 或 [WinSCP](https://winscp.net/) 的文字超連結。

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

### 3. 啟動 SFTP 連線工具。

{% hint style="info" %}
這邊以 FileZilla 來演示。如果是 WinSCP 連線工具，可以點擊 「啟動 SFTP」 來快速連線。
{% endhint %}

開啟 FileZilla 後，你將會在上方看到主機、使用者名稱、密碼、連接埠。\
\
首先是主機名稱，你在控制面板看到的 SFTP 連線位置會是長成 `sftp://sftp.cheapserver.tw:2006` 這樣。請將`:`後面的 `2006` 填入到連接埠，然後將`:`前面的 `sftp://sftp.cheapserver.tw` 填入到主機。\
\
使用者名稱就是你在控制面板看到的 「使用者名稱」。\
密碼就是控制面板帳號密碼，如果你是透過 Google 登入或未設定密碼，請先重設密碼。

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

### 4. 快速連線。

正確填入後，就可以點擊 「快速連線」。

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

### 5. 加入主機金鑰

如果你是首次使用 SFTP 的用戶，程式會跳出主機金鑰提示，點擊確認即可。\
想要未來載連線時不要跳出提示，則可以勾選信任這台主機。

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

### 7. 成功連線。

程式的左邊將會是你的電腦本地目錄，右邊則是遠端伺服器。\
你可以點擊檔案，會顯示上傳或下載；拖曳檔案到右邊也可以上傳。

<figure><img src="/files/0NRCLGGJJVpJ0f5kWaU0" 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/sftp.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.
