WinSCP connection failed
In function app added WinSCP as a reference and using WinSCP.exe for connecting to SFTP. This could indicate lack of write permissions to the log folder or problems starting WinSCP itself.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
Failed to create target sftp client: WinSCP process terminated with exit code -1073741502 (C0000142).