Ravi Anand
Ravi Anand

Reputation: 5524

How to iterate through all files in sftp folder in Microsoft Azure Logic App

steps i already did using SFTP connector (how can i access files while looping through list files in folder in azure logic app):

  1. I added foreach loop
  2. I added list files in folder
  3. I passed Body as parameter in foreach loop
  4. then i added action to create new file with new name for all files.
  5. but i am not able to get file name and content while iterating sftp folder using foreach loop?

enter image description here

Upvotes: 1

Views: 6296

Answers (1)

david thompson
david thompson

Reputation: 140

Please see example image, showing the logic app design. I am iterating sftp folder posting file content to http end point:

Logic App Image

Upvotes: 1

Related Questions