Skip to main content
Let’s learn how to connect Engini to FTP. FTP stands for File Transfer Protocol. It is a standard network protocol for transferring files between servers and clients over the internet. This integration lets you list, read, upload, move, rename and delete files and folders on your FTP server, and start workflows when new files appear. To get started, make sure you have the details of your FTP server and an account on it.

Add a Connection to FTP in Engini

Prerequisites

  • An FTP server that Engini can reach, and its address.
  • A username and password for an account on that server.

Connecting Engini to FTP

  1. Enter your Engini account at https://app.engini.io.
  2. Navigate to the Connections page by clicking on Connections in the left sidebar or by clicking here. Engini - Connections page
  3. Click on the “New Integration” option located at the top bar. Engini - New Integration button
  4. Choose the FTP option from the available applications. FTP - Choose Application
  5. Enter the following details in the “New Integration” form and press Save: FTP - New Integration form
    1. Connection Name - Enter a name that helps identify the FTP connection.
    2. Host - Enter the address of your FTP server (domain or IP), for example ftp.example.com.
    3. Username - Enter the login name of your FTP account.
    4. Password - Enter the password of your FTP account.
    5. Port - Enter the port your FTP server listens on. The default is 21.
    6. Enable SSL - Select true to connect over SSL, or false to connect without it. The default is false.
    7. Disable Certificate Validation - Select true to skip validation of the server’s SSL certificate, or false to validate it. The default is false.
    8. Save - Click Save to create the connection.

Triggers

Check for New Files

Checks a folder on your FTP server on a schedule and starts the workflow for each new file it finds. FTP - Check for New Files trigger
  1. Folder - Enter the path of the folder to check, for example /incoming.
  2. Starting (UTC) - Select the start date and time for the scheduled trigger.
  3. Recur every - Choose the time interval for triggering and checking files. The minimum time interval is 15 minutes.
  4. Add time frame - You can specify a time frame during which the trigger will operate.
  5. Add Conditions - Click Add Conditions to define conditions that narrow down the data list and return only the relevant items. To learn more about using filters, click here.
Each new file is passed to the next steps with these properties: Name, Size, Date and Permissions.

Actions

Append to File

Adds content to the end of an existing file on your FTP server. FTP - Append to File action
  1. Folder path - Enter the path of the folder that holds the file, relative to the root folder of the FTP server, for example /incoming.
  2. File name - Enter the name of the file to append to, for example report.csv.
  3. File type - Select how the file is handled: Auto Detect, Text or Binary.
  4. File content - Enter the text to add to the end of the file, or the file as a base64 string. You can map it from a previous step.

Change File Permissions

Changes the permissions of a file on your FTP server. FTP - Change File Permissions action
  1. File path - Enter the full path of the file, for example /incoming/report.csv.
  2. Permissions - Enter the new permissions as a numeric mode, for example 755.

Create Folder

Creates a new folder on your FTP server. FTP - Create Folder action
  1. Parent folder path - Enter the path of the folder in which to create the new folder, relative to the root folder of the FTP server, for example /incoming.
  2. New folder name - Enter the name of the new folder, for example archive.

Delete File

Deletes a file from your FTP server. FTP - Delete File action
  1. Folder path - Enter the path of the folder that holds the file, for example /incoming.
  2. File name - Enter the name of the file to delete, for example report.csv.

Delete Folder

Deletes a folder from your FTP server. FTP - Delete Folder action
  • Folder path - Enter the path of the folder to delete, relative to the root folder of the FTP server, for example /incoming/old.

Get File

Retrieves a file from your FTP server, including its content. FTP - Get File action
  • File path - Enter the path of the file, relative to the root folder of the FTP server, for example /incoming/report.csv.

Get Files and Folders in Folder

Retrieves the list of files and folders in a folder on your FTP server. FTP - Get Files and Folders in Folder action
  1. Folder path - Enter the path of the folder, relative to the root folder of the FTP server, for example /incoming.
  2. Content type - Choose what to return: Files, Folders, or Folders and Files. The default is Folders and Files.

Get Files in Folder

Retrieves the list of files in a folder on your FTP server. FTP - Get Files in Folder action
  • Folder path - Enter the path of the folder, relative to the root folder of the FTP server, for example /incoming.

Move File

Moves a file to another folder on your FTP server. FTP - Move File action
  1. Source path - Enter the path of the folder that holds the file, for example /incoming.
  2. File name - Enter the name of the file to move, for example report.csv.
  3. Destination path - Enter the path of the folder to move the file to, for example /archive.

Rename File

Renames a file on your FTP server. FTP - Rename File action
  1. Folder path - Enter the path of the folder that holds the file, for example /incoming.
  2. File name - Enter the current name of the file, for example report.csv.
  3. Rename to - Enter the new name of the file, for example report-final.csv.

Rename Folder

Renames a folder on your FTP server. FTP - Rename Folder action
  1. Folder path - Enter the path of the folder to rename, for example /incoming/old.
  2. New folder name - Enter the new name of the folder, for example archive.

Upload File

Uploads a file to your FTP server. FTP - Upload File action
  1. Folder path - Enter the path of the folder to upload the file to, for example /incoming.
  2. File name - Enter the exact name for the uploaded file, for example report.csv.
  3. File content - Enter the text of the file, or the file as a base64 string. You can map it from a previous step.
  4. File type - Select how the file is handled: Auto Detect, Text or Binary.