Skip to content

Download From FTP

Description

The Download From FTP activity allows you to retrieve files from a specified directory on an FTP server. You can apply filters based on filenames, date ranges, and retrieve only files from specific periods such as today or yesterday. After downloading, the activity can optionally delete or move the files on the FTP server to prevent reprocessing.

This is useful in automated workflows for ingesting periodic reports, logs, or any files generated and uploaded to FTP locations by external systems.

Use case: Automatically download .csv reports from a /daily-reports/ directory each morning and move them to /archived/ after successful processing.


Input

Not Applicable


Output

Output TypeFormatDescription
FilesBinaryFiles downloaded from the FTP server

Configuration Fields

Field NameRequiredDescription
ConnectionYesFTP connection configuration including host, username, and password.
Working DirectoryYesPath to the remote directory from which files will be downloaded.
RegExNoOptional regex pattern to filter files (e.g., .*\.csv$).
Files forYesTime filter for retrieving files. Options: All, Today, Yesterday, Today and Yesterday, Date Range.
Start DateConditionalStart date (used only when “Date Range” is selected).
End DateConditionalEnd date (used only when “Date Range” is selected).
Delete After DownloadNoIf enabled, deletes the file from the FTP server after successful download.
Move After DownloadNoIf enabled (and deletion is disabled), moves the file to another folder on the server.
Move DirectoryConditionalDestination folder path for moved files (only shown when moving is enabled).

Sample Input

Not Applicable


Sample Configuration

FieldValue
ConnectionFTP - Client Reports
Working Directory/uploads/2025/july
RegEx.*\.csv$
Files forToday and Yesterday
Delete After Downloadfalse
Move After Downloadtrue
Move Directory/uploads/2025/july/archived

Sample Output

Files successfully retrieved from the FTP server:

Remote File NameFile NameSizeStatus
report_2025-07-09.csvreport_2025-07-09.csv2MBDownloaded
report_2025-07-10.csvreport_2025-07-10.csv2.1MBDownloaded