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.2K All Categories
- 68 General
- 11 Training
- 203 Installation / Setup
- 1.1K Flows
- 108 Rules
- 262 Administration
- 212 Portal
- 494 General Q & A
- 698 Forms
- 334 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 180 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 80 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 92 Lunch And Learn Questions