Re: Send command to server (bash) after synchronization change
                You can write a WinSCP script and use 
See
https://winscp.net/eng/docs/guide_automation
https://winscp.net/eng/docs/scriptcommand_synchronize
https://winscp.net/eng/docs/scriptcommand_call
        synchronize and call commands.
See
https://winscp.net/eng/docs/guide_automation
https://winscp.net/eng/docs/scriptcommand_synchronize
https://winscp.net/eng/docs/scriptcommand_call