> For the complete documentation index, see [llms.txt](https://docs.glesys.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.glesys.com/products/compute/guides-for-server-management/upload-files-using-sftp-with-winscp-for-windows.md).

# Upload files using SFTP with WinSCP for Windows

***

In this guide, we'll walk through how to connect to your server and transfer files via SSH File Transfer Protocol (SFTP) using the free Windows program WinSCP. SFTP is a more secure protocol than FTP because the traffic is encrypted, which is why we recommend it when you want to upload files to your server.

## Prerequiste&#x20;

Start by [downloading WinSCP for Windows](https://winscp.net/eng/download.php) and installing it on your computer.

## Create a connection via SFTP to your server

Start WinSCP and select **SFTP** under **File protocol**.

Enter your server's IP address and your username (you’ll enter the password later), then click **Save**.

<div align="left"><figure><img src="/files/TQdTY6GgcbLanKjJVm52" alt=""><figcaption></figcaption></figure></div>

Name the connection and click **OK**.

<div align="left"><figure><img src="/files/jwRclbwd1CZgUGKQ7Nk5" alt=""><figcaption></figcaption></figure></div>

Now you’ve created a new site. Select it and click **Login**.

<div align="left"><figure><img src="/files/hPVBcpUWUNx1puQVbR23" alt=""><figcaption></figcaption></figure></div>

The first time you log in, a message like this will appear. Every computer that communicates via the SSH protocol has a unique identifier—a so‑called SSH host key. This warning tells you that WinSCP does not recognize the new key and asks whether you want to store it for future reference.

Click **Yes**.

<div align="left"><figure><img src="/files/HaKqW1qNo23Bmwf8X8yJ" alt=""><figcaption></figcaption></figure></div>

Enter your server password and click **OK**.

<div align="left"><figure><img src="/files/9KI6jdzQZwZTboG1ikQY" alt=""><figcaption></figcaption></figure></div>

You’re now connected to the server and ready to upload files.

## Upload or download files

On the left side, you see the contents of your local hard drive, and on the right side, you see the file system of your server. Locate the files you want to upload on your local drive, select them, then click **Upload**.

<div align="left"><figure><img src="/files/Xqbp8jBmJt2sM1dGvIzY" alt=""><figcaption></figcaption></figure></div>

Choose where you want the files to be placed and click **OK** to start the upload.

<div align="left"><figure><img src="/files/6kFYwRQwwM3sEj7QlyTG" alt=""><figcaption></figcaption></figure></div>

You can also download files from your server by selecting one or more files and then pressing the **Download** button.

<div align="left"><figure><img src="/files/NPvPuuXbjQ0Lq4g0JmIw" alt=""><figcaption></figcaption></figure></div>


---

# 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:

```
GET https://docs.glesys.com/products/compute/guides-for-server-management/upload-files-using-sftp-with-winscp-for-windows.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.
