PROCESIO
OverviewPlatform ActionsIntegrations & DemosMarketplaceCustom ActionsDeveloperโ€™s Guide

Download Bulk

Downloads a list of files from an SFTP or FTP server in one step, over up to 20 parallel connections.

Download Bulk downloads several files from your SFTP or FTP server in a single step and returns them as a list of files. It takes the list produced by Get File List, so a typical process is Get File List โ†’ (filter) โ†’ Download Bulk. Files that fail don't stop the others: each failure is reported in Errors.

Before you start

The action connects through an FTP credential that you create once in the Credential Manager (host, port, protocol FTP or SFTP, an optional Directory path, and a user name with a password or a key file). See FTP Credential.

Add the action

In the Process Designer toolbox, open SFTP and pick Download Bulk (or type Download Bulk in the search box).

The Download Bulk action properties: From SFTP credentials, Files, SFTP Connections, Result and Errors

Inputs and outputs

FieldDirectionTypeRequiredWhat to put / what you get
From SFTP credentialsInputFTP credentialYesThe credential of the server to read from.
FilesInputList of SFTPFilesInformationYesThe files to download, usually the Output of Get File List. Each entry needs its path.
SFTP ConnectionsInputIntegerNoHow many files are downloaded in parallel, from 1 (default) to 20.
ResultOutputList of FileYesThe files that were downloaded.
ErrorsOutputList of TextYesOne message for each file that could not be downloaded.

Example

Files is the list returned by Get File List for the folder inbox (three files), SFTP Connections 3 โ†’ Result holds the three files, ready to loop over with a For Each or to pass to another action.

Good to know

  • Some files are skipped without an error. Before downloading, the action leaves out entries without a path, files whose extension isn't allowed on your PROCESIO platform, and files larger than the platform's file size limit. It also stops adding files once the total reaches 1 GB (calculated from the size values in the list). Skipped files are not in Result and not in Errors, so compare the number of files in Result with the number you sent if it matters.
  • An empty Files list is accepted: the step finishes and returns nothing.
  • Values outside 1โ€“20 in SFTP Connections are brought back to the nearest limit.
  • If the connection itself fails, the step fails with "Error while trying to download files from folder."
  • To download a single file by name, use Download File.

On this page