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 (18.104.22.168) does not match version of this assembly c:\program files\winscp\WinSCP.dll (22.214.171.124). You can
disable this check using Session.DisableVersionCheck (no recommended).").
Just used the standard Powershell script provided.