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.4K All Categories
- 82 General
- 13 Training
- 210 Installation / Setup
- 1.2K Flows
- 110 Rules
- 270 Administration
- 213 Portal
- 498 General Q & A
- 714 Forms
- 347 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 8 Javascript Controls
- 187 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 230 Integrations
- 29 Multi-Tenant
- 27 SDK
- 81 Modules
- 59 Settings
- 26 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions