How do I retrieve more than one file from SFTP?

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]

Sign In or Register to comment.