Topic "Incompatible external console protocol version 4"

Author Message
sharad0703
[View user's profile]

Joined: 2012-07-23
Posts: 2
Hi - I am using WinSCP.dll (1.0.0.528) 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 1.0.0.528.

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

Description: Attaching the screenshot of the error window

error.JPG

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
You have to use the same version of the assembly as WinSCP.
_________________
Martin Prikryl
sharad0703
[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 - 1.0.0.235

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

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License