# 文件传输说明

## **SFTP文件传输**

#### **本文档针对机房托管的使用了虚拟化容器的服务器。**

1. 使用个人账户和密码通过SSH登入服务器终端，启动虚拟容器，进入虚拟容器，此时默认路径是**容器内**`/root`，这就是个人的工作目录。
2. 使用个人账户和密码以及SFTP软件登入服务器。默认进入**宿主机的**home目录`/home/<用户名>`，如果不是，先切到这个目录。
3. 将文件上传至 `/home/<用户名>/root-in-container`

{% hint style="warning" %}
**特别注意：**

SFTP文件传输是与宿主机交互的。容器和宿主机的文件系统之&#x95F4;***打了个洞***&#x7528;来传输文件。宿主机的`/home/<用户名>/root-in-container`对应容器中的`/root。`
{% endhint %}

##


---

# 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.aiskyeye.com/manual/file-transfer.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.
