of has trigger in in the inn FTP do go hi too PM
Answers
Answer:
connector.
I have tried on different FTP server ( including say ftp.drivehq.com ) and none of them are working as far as "Trigger". Tried all sort of options as far as configuration along with making sure TimeZone and StartDate are entered too.
All i see is "Skipped" 202 all the time even though there are new files dropped onto FTP watch folder.
Any thoughts? or do we have to create custom one.
It's critical for us if someone has solution to this as we are planning to go-live with the solution
Tuesday, September 13, 2016 3:16 AM
Avatar of akshata13
akshata1310 Points
Answers
Question
Sign in to vote
2
Sign in to vote
Hi Akshata,
Tested now and ran into the same problem as you. I don't see anything wrong with my connections details, so I'm assuming it is a bug on the trigger. I will try to check with the product group.
The actions (like list folder) are working though, as I could list the contents of a directory.
Since seems like you need a workaround fast, I thought about an alternative approach, but it would involve a lot more leg work. You could do something like this:
Create a recurrence trigger.
Execute a list files in folder as the first action. This returns all the items in the file (including subfolders)
Filter the results for all items where FileLocation != null [@not(equals(item()?['FileLocator'], json('null')))]
Foreach item in the filter array result, run your logic (which will probably need to be a nested logic app, where you need to get the content of the file, do whatever logic you want and then delete the file, or move to another folder).
So it would the main logic app would look as something similar to this: