> For the complete documentation index, see [llms.txt](https://bothosting-net.gitbook.io/bot-hosting.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bothosting-net.gitbook.io/bot-hosting.net/legacy/sftp-connection.md).

# Connect to your server's files with SFTP

You can use an SFTP client to connect to your server on bot-hosting.net and manage its files.

### **Downloading an SFTP client** <a href="#s5w8fietfez" id="s5w8fietfez"></a>

The first thing you need to do is download an SFTP client, which is used to connect to the SFTP server and manage files. This guide uses screenshots from WinSCP, but you can also use FileZilla. Download links:

* [WinSCP](https://winscp.net/eng/download.php) (Windows only)
* [FileZilla](https://filezilla-project.org/download.php?type=client)

Once downloaded, install the client you have chosen.

### **Getting your SFTP connection details** <a href="#bcieat1xcmp" id="bcieat1xcmp"></a>

To connect to the SFTP server, you need your connection details. In the control panel, go to the Settings tab of your server.

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

If you have an SFTP client installed, you can click `Launch SFTP` and it will open your SFTP client with the details entered.

If your SFTP client does not launch for any reason, you can always start it yourself and copy and paste the connection details. Remember, the number after the `:` at the end is the port, and the part before it is the host. In this example, `example.bot-hosting.net` is the host and `2022` is the port.

You will then need your SFTP password, which can be generated on the [settings page](https://legacy.bot-hosting.net/panel/settings) of the client panel.

Once all the details have been entered, you can connect. You may be prompted to accept the server's keys, with a warning that you have not connected to this server before. If that happens, click Yes. The warning may look as follows:

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

You should then be connected and able to manage your files. You can copy files from your PC and use the upload and download functions.


---

# 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://bothosting-net.gitbook.io/bot-hosting.net/legacy/sftp-connection.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.
