How to NOT delete a file in a Azure FTP connector action if the transfer fails in a logic app -


i have successful connection setup between ftp site , dropbox using azure logic app. while setting kept downloading file then, since had next step wrong, deleting.

in test environment annoying. in production, pretty awful.

here code using on action part:

 "operation": "uploadfile",             "parameters": {                 "filepath": "@{triggers().outputs.body.filepath}",                 "content": {                     "content": "@{triggers().outputs.body.content}",                     "contenttransferencoding": "none"                 },                 "overwrite": true             }, 

is there can if fails leave file on server?

i'm not 100% sure mean, give try. maybe can reformulate question if misinterpret you.

but yes, there exists "conditions" in logic apps can used. if new logic apps i'd suggest use "designer view" , can click "add condition met". visualize text box in can formulate conditions. instance:

@equals({your data}, bool('true')) 

to check if value true, or similar check if data null.


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -