I have created an logic app and added the action SFTP - List files in folder. When I create the connection to the SFTP server it connects succesfully.
Next I have to select the folder. I want to make use of parameters, that works fine with 1 level, but when I want to make use of /folder/subfolder then I am getting an error that the folder does not exist after running the logic app.
I have 2 questions
thank you all for your time.
Storage Container contains below folder structure:
is it possible to make use of /folder/subfolder? if yes, how?
Yes, it is possible like using below connection deisgn
:
With Parameters:
Output:
Without Parameters:
Output:
There are no best practices as such, but one needs lot of connections as there may be lot of containers.
You will get all connections when you click on change connection :
Try to use above design to get expected output.