incompatible external console protocol version 6

Advertisement

kcFTP123
Guest

incompatible external console protocol version 6

I get this error "incompatible external console protocol version 6" when trying to execute my Powershell script.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,802
Location:
Prague, Czechia

Re: incompatible external console protocol version 6

kcFTP123 wrote:

I get this error "incompatible external console protocol version 6" when trying to execute my Powershell script.
You were using a very different versions of WinSCP and the WinSCP .NET assembly and you tried to overcome that by setting Session.DisableVersionCheck. You should always use the same version of both components.

Reply with quote

Advertisement

meng.xiao
Guest

same error on WINSCP version 5.1.2.0

Hi Martin,

I got the same error with WinSCP 5.1.2.0 and WinSCPnet.dll version 5.5.6.0
of course i turned off the version check on my session (using Powershell script)

I saw somewhere on the site said the dll file will work with any WinSCP version 5+

Anyway I can overcome this error without installing the later version of WinSCP??

Thanks,
Meng

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,802
Location:
Prague, Czechia

Re: same error on WINSCP version 5.1.2.0

meng.xiao wrote:

I got the same error with WinSCP 5.1.2.0 and WinSCPnet.dll version 5.5.6.0
of course i turned off the version check on my session (using Powershell script)

I saw somewhere on the site said the dll file will work with any WinSCP version 5+

Anyway I can overcome this error without installing the later version of WinSCP??
WinSCP .NET assembly is supported since version 5.0.6 only. And generally it's not recommended to use different version of the assembly and WinSCP. What's the problem about upgrading WinSCP?
_________________
Martin Prikryl

Reply with quote

Panzer
Guest

incompatible external console protocol version 5

Hi I downloaded the version WinSCP 5.7.3 . But get in VB.Net the error message :

{WinSCP.SessionLocalException: You can disable this check using Session.DisableVersionCheck ( not recommended ) . at WinSCP.ExeSessionProcess.CheckVersion (String ExePath , FileVersionInfo AssemblyVersion ) at WinSCP.ExeSessionProcess..ctor ( Session session ) at WinSCP.Session.Open ( Session Options Session Options

but when I sat Session.DisableVersionCheck = true , then I get the error message :

incompatible external console protocol version 5

can you help me pls?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,802
Location:
Prague, Czechia

Re: incompatible external console protocol version 5

Still the same: You are using a different versions of WinSCP and the WinSCP .NET assembly. You should always use the same version of both components.

Reply with quote

Advertisement

You can post new topics in this forum