SFTP
With SFTP modules in Make, you can manage your files, folders, and file permissions on a remote server.
To use SFTP modules, you must have an SFTP account on some hosting.
Establish the connection with SFTP in Make
To establish the connection in Make:
Log in to your Make account, add a SFTP module to your scenario, and click Create a connection.
Optional: In the Connection name field, enter a name for the connection.
In the Host field, enter the host address of the server you want to connect.
In the Port field, enter the SFTP server port. It must be a number between 1 and 65535. The default value is
22
.In the Auth type dropdown list, select the authorization method you want to use for connecting to the SFTP server.
In the User name field, enter the user name that you use to enter the server.
Only for the User name and password auth type: In the Password field, enter the password that you use to enter the server.
Only for the User name and key auth type: In the Private key field, upload the private key to use the client-side authorization.
Note
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. Refer to our Help Center for more information.
Optional: Set up an algorithm.
Important
The blowfish-cbc cipher option stopped functioning since March 19, 2024.
Click Save.
You have successfully established the connection. You can now edit your scenario and add more SFTP modules. If your connection requires reauthorization at any point, follow the connection renewal steps here.
Build SFTP Scenarios
After connecting the app, you can perform the following actions:
Triggers
Watch files in a folder
Watch subfolders in a folder
Actions
List a folder's content
Get files
Get a file
Upload a file
Rename a file
Move a file
Delete 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 Man Page to get more information.Create a folder
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 Man Page to get more information.Delete a folder