Trigger action after synchronization

Advertisement

Thorsten
Joined:
Posts:
3

Trigger action after synchronization

Hi everybody!

Does WinSCP offer a way to setup a synchronization hook?

The idea is that after it synced from local to remote it should automatically backup the remote files and database.

PS: Big thanks for this great tool, Martin! :)

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,378
Location:
Prague, Czechia

Re: Trigger action after synchronization

I do not understand. If you have the synchronization scripted, why don't you add the backup to your script? What do you need the "hook" for?

Reply with quote

Thorsten
Joined:
Posts:
3

Ahoj, Martin!

If you have the synchronization scripted, why don't you add the backup to your script?
I don't use a script for the synchronization, since I need full control over the file operations on the local system. The synchronization checklist, seen when syncing via GUI with the preview option enabled, allows this manual control.

What do you need the "hook" for?
The hook would run my backup script. Currently I have to run it after every synchronization manually.

Reply with quote

Advertisement

You can post new topics in this forum