How do I retrieve more than one file from SFTP?
Comments
-
It looks like the Download Files by SFTP step can only do one file. Is there a step that does more than one? Also, how do I get the files from my SFTP directory to make them available for download?
-
Jon,
So to download more than one file from SFTP, you need to use a ForEach step to loop through a list of files in the SFTP directory. As for how you "get" the files, you can use a step called List Files in Directory that does exactly what it says on the tin and outputs a list of files from your SFTP directory.
You feed this list to the ForEach loop and use each "Item" (file name) as the criteria for the Download by SFTP step to find the file by. This will loop through and download each item in the list output by the List Files in Directory.
Once it is built, it will look something like this:
[img]att1[/img]
[i]edited by Watson@decisions.com on 9/30/2019[/i]
Howdy, Stranger!
Categories
- 4.1K All Categories
- 61 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions