Re: System Account setting
You do not have to change the script (actually you cannot enable logging by changing the WinSCP script), just add
https://winscp.net/eng/docs/commandline#logging
/log
switch to WinSCP command-line in Task Scheduler job.
https://winscp.net/eng/docs/commandline#logging