Re: How to retain permissions when synchronizing files from local to remote
That option is off by default.
Your script may take a on-default configuration from WinSCP GUI.
You should better isolate your script from GUI configuration:
https://winscp.net/eng/docs/scripting#configuration
Your script may take a on-default configuration from WinSCP GUI.
You should better isolate your script from GUI configuration:
https://winscp.net/eng/docs/scripting#configuration