Re: overwrite log file
If you set the configuration in the GUI for how log files should be generated (i.e. overwrite), do those rules then apply to any script commands?
Yes, see https://winscp.net/eng/docs/scripting#configuration
Though in the recent versions of WinSCP, you should set it using the
/rawconfig
switch instead. See:
https://winscp.net/eng/docs/rawconfig