---
title: SFTP
slug: sftp
image: https://make-cxp-documentation.ams3.cdn.digitaloceanspaces.com/apps-center-icons/PREVIEW_DEFAULT.png
createdAt: 2025-02-03T13:28:13.883Z
---

::::VerticalSplit{layout="left"}
:::VerticalSplitItem
::Image[]{src="https://api.archbee.com/api/optimize/oAyFj2GHlBeBVWF5OAir2/SO3ljPc0D4N0ytoot_Stw-20260216-090223.png" size="50" width="800" height="800" position="center" showCaption="false"}
:::

:::VerticalSplitItem
Files.com is a cloud-native managed file transfer (MFT) platform that enables organizations to securely transfer, share, and store files between users, teams, and external partners. With the SFTP app in Make, you can manage files, folders, and file permissions on a remote server.
:::
::::

# Connect SFTP and Make&#x20;

To get started, you must first create a connection between SFTP and Make, allowing the two services to communicate.

To create the connection, you need to:

:::::WorkflowBlock
:::WorkflowBlockItem
Log in to your Make account, add an SFTP module to your scenario, and click **Create a connection**.
:::

:::WorkflowBlockItem
Optional: In the **Connection name** field, enter a name for the connection.
:::

:::WorkflowBlockItem
In the **Host** field, enter the host address of the server you want to connect.
:::

:::WorkflowBlockItem
In the **Port** field, enter the SFTP server port. It must be a number between 1 and 65535. The default value is `22`.
:::

::::WorkflowBlockItem
In the **Auth type** dropdown list, select the authorization method you want to use for connecting to the SFTP server.

- **User name and password auth type**: Enter your username and password that you use to enter the server.
- **User name and key**: Enter your username that you use to enter the server.
  - In the Private key field, upload the private key to use the client-side authorization.

:::hint{type="warning"}
Make doesn't support private key extraction for the **Ed25519** algorithm. If you're using a key of this type, we recommend generating a new RSA key instead.
:::

Upload your certificate (P12, PFX, or PEM file) to use TLS using your self-signed certificate. If you use the client-side certificate authorization, you can enter your CA certificate here.
::::

::::WorkflowBlockItem
Optional: Set up one of the following algorithms:

- Key exchange algorithms
- Ciphers
- Server host keys
- HMAC

:::hint{type="info"}
The order of the algorithms in the arrays is important, with the most favorable being first. Please modify this field just in case you are aware of how are these algorithms used during the SSH communication.
:::
::::

:::WorkflowBlockItem
Select whether the stat command should be called immediately after the connection is established.

This can help prevent timeouts on some servers, such as AWS. Enable this if you're encountering connection timeouts.
:::

:::WorkflowBlockItem
Select the status of **Treat authentication methods error as connection error&#x20;**&#x20;option.

Selecting **Yes&#x20;**&#x77;ill treat `All configured authentication methods failed` as a connection error. The system automatically retries the scenario using an exponential backoff. If all retry attempts fail, the scenario run is marked as `Incomplete execution` and can be retried manually.
:::

:::WorkflowBlockItem
Click **Save**.
:::
:::::

You've successfully established the connection and can now use the SFTP app in your scenarios.  If your connection requires reauthorization at any point, follow the steps [here](docId\:SO88FM6pkT0G-adKDDfzZ).

# SFTP modules

After connecting to the SFTP app, you can use the following types of modules to build your scenarios.

:::ExpandableHeading
**Triggers**

- Watch files in a folder
- Watch subfolders in a folder
:::

:::ExpandableHeading
**Actions**

- Create a folder
- Update file permissions
- **Note**: Use the chmod parameters, for example, `777` or `-rwxrwxrwx`. The entered data should match the patters: `/(.?([r-][w-][x-]){3})|[0-7]{3}/`. Refer to the [chmod main age](https://ss64.com/bash/chmod.html) to get more information.
- Delete a file
- Delete a folder
- Get a file
- Get files
- List a folder's content
- Move a file
- Rename a file
- Update file permissions
- **Note**: Use the chmod parameters, for example, `777` or `-rwxrwxrwx`. The entered data should match the patters: `/(.?([r-][w-][x-]){3})|[0-7]{3}/`. Refer to the [chmod main age](https://ss64.com/bash/chmod.html) to get more information.
- Upload a file
:::

