new function for WinSCP synchronize