Re: The session Log getting disabled automatically
In scripting, do not rely on GUI configuration. On the contrary, you should isolate the script from GUI configuration:
https://winscp.net/eng/docs/scripting#configuration
To enable logging in scripting, use
https://winscp.net/eng/docs/commandline#logging
https://winscp.net/eng/docs/scripting#configuration
To enable logging in scripting, use
/log
command-line parameter:
https://winscp.net/eng/docs/commandline#logging