Re: synchronize remote issue
If it is today's date, you can use:
See https://winscp.net/eng/docs/scripting#timestamp
If not, you have to generate the WinSCP script.
For examples, see:
https://winscp.net/eng/docs/script_download_timestamped_filename
synchronize remote D:\Directory\Backups\%TIMESTAMP#yyyy_mm_dd%\Directory\%TIMESTAMP#yyyy_mm_dd%\Directory
See https://winscp.net/eng/docs/scripting#timestamp
If not, you have to generate the WinSCP script.
For examples, see:
https://winscp.net/eng/docs/script_download_timestamped_filename