Topic "Incompatible external console protocol version 4"

Author Message
[View user's profile]

Joined: 2012-07-23
Posts: 2
Hi - I am using WinSCP.dll ( in .NET 4.0 to run the sample program given on the site. All the input parameters work with the GUI version of WinSCP. However, when I run my program using the .net assembly, I get the following message at "session.Open(sessionOptions)".

Version of GUI based WinSCP installed on my machine is 4.2.7 and I using the WinSCP .NET assembly having version

Please advise[/img]
error.JPG (7.17 KB)

Description: Attaching the screenshot of the error window


[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24736
Location: Prague, Czechia
You have to use the same version of the assembly as WinSCP.
Martin Prikryl
[View user's profile]

Joined: 2012-07-23
Posts: 2
You are right..Finaly I got it working by using the below version combination: -
WinSCP.exe - 5.0.7
WinSCP.dll -

Thanks for creating the dll. It's very handy for a developer to write managed code.

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License