Im setting up a logic app that should Trigger when a file is added or modified in a specific path on a FTP server and will then copy this file to a storage account. However, I have tried multiple setups within the logic app but can not seem to get it right. I want the setup to only copy the files that does not already exist in the storage account.
I have the following setup right now : When a file is added or modified (FTP) -> List files in folder (FTP) -> For each File in folder (FTP) -> Create blob
This setup will trigger correctly and will copy each file to the specified storage account.
I have also tried with different condition but it doesnt seem to work. For example I tried adding another step which was (FTP) -> List files in folder (FTP) -> List blobs -> Condition List blobs is not equal to List Files -> If TRUE -> For each File in folder (FTP) -> Create blob
Does anyone have any idea on how I can get this working?
Greetings.