In Sync Tab, difference between "On completion" and "On Success"?

Get help for specific problems
Posts: 2
Joined: 17 Nov 2017

schiggi

Hi there,

as mentioned in the subject, what is the difference between the 2 in Run command after sync?

My goal would be to execute a script only if a file has been transferred from one side to another ("Update").

Thanks,
schiggi
User avatar
Site Admin
Posts: 7283
Joined: 9 Dec 2007

Zenju

"On completion" covers both "On Success" and "On Errors". Do you have a better term?
Posts: 2
Joined: 17 Nov 2017

schiggi

Ah, ok, thanks. Unfortunately, don't have ideas for a better word. Maybe just simply: "On success and On error"?

But coming back to the functionality, on success means the success of the batch (without errors), not necessarily, if there has been a file transferred or not?

My goal would be to transfer/update a file to my server if file has been updated by 3rd party program. If transferred, then execute a script via SSH. Any ideas, how to execute a command only if a file has been transferred?