Topic "incompatible external console protocol version 6"

Author Message
kcFTP123

Guest


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

Guest


I just updated to 554 version of WinSCP. Seems to help, now I just get a timeout error Sad
kcFTP123

Guest


How can i define a port in my powershell script?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
kcFTP123 wrote:
How can i define a port in my powershell script?

Use SessionOptions.PortNumber:
http://winscp.net/eng/docs/library_sessionoptions
_________________
Martin Prikryl
meng.xiao

Guest


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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
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
Panzer

Guest


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?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
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.
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