> For the complete documentation index, see [llms.txt](https://docs.neevcloud.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.neevcloud.com/neevcloud-guide/neevcloud-knowledgebase/how-to-use-sftp-for-uploading-and-downloading-files.md).

# How to use SFTP for Uploading & Downloading files

**SFTP (Secure File Transfer Protocol)** is a network protocol designed by the Internet Engineering Task Force (IETF) as an extension of the Secure Shell (SSH) protocol. It enables secure access, transfer, and management of files over a network. SFTP encrypts data, executes commands, and provides authentication to ensure secure file transfers. It works on **port 22** and uses the client-server model. SFTP is commonly used for secure file transfers over Transport Layer Security (TLS) and in virtual private network (**VPN**) applications. It offers advantages such as data security, encryption, public key authentication, large file transfer support, and integration with VPNs and firewalls.

Here are some steps to upload files using SFTP:

1. Use your SFTP client
2. Enter the command **sftp (username)@(data center)**
3. Enter your password
4. Choose a directory
5. Enter put (myfile)

**Uploading Files**

Open a terminal and connect to the SFTP server using the sftp\_user's name along with the another\_machine\_IP. Use the following commands:

**$ sftp root\@your\_IP\_ADD**

To navigate to the SFTP user's home directory.

```
sftp> put -r your_system_path another_system_path 
```

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

Downloading Files

```
sftp> get another_system_path  your_system_path 
```

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