I have released development version of the .NET assembly with 5.1.4 by mistake. Will fix it shortly. Meanwhile you can use 5.1.3.
I got the same problem here :cry:
I stucked with my scripts because of this problem ..Do You know when it could be resolved ?
I have the same problem.
Setting "session.DisableVersionCheck = True" leads to the following error:
"Incompatible protocol version 6 of extern console"
Yes looks like <invalid hyperlink removed by admin> file contains the dll that uses WinSCP 5.2 which has not been released yet.
Can we get the zip updated with the correct version of the dll please?
Just downloaded the latest WINSCP and .NET Assembly Automation versions. Seems there is an incompatibility
issue (Exception calling "Open" with "1" argument(s): "The version of c:\program files\winscp\winscp.exe (220.127.116.11) does not match version of this assembly c:\program files\winscp\WinSCP.dll (18.104.22.168). You can
disable this check using Session.DisableVersionCheck (no recommended).").
Just used the standard Powershell script provided.