How to set SFTP protocol version through the command line

Advertisement

PiperRod
Joined:
Posts:
6
Location:
Baltimore, MD

How to set SFTP protocol version through the command line

I'm using WinSCP 4.0.6 Build 358.

I'm trying to connect to a new vendor. I was receiving the errors
Cannot initialize SFTP protocol. Is the host running a SFTP server?
Exception) Error decoding SFTP packet (111, 4, 111).
I have been able to get around this and connect to them using the Windows interface by setting the Preferred SFTP Protocol Version to 4 for this particular vendor. Now I'm working on automating the upload to them using WinSCP through the command line and I'm back to getting the same error. How can I set the Preferred SFTP Protocol Version through the command line?

Reply with quote

Advertisement

saity
Guest

How to enforce sftp version in command line

I am facing the same issue, could you or @martin help me here, only example will also be helpful. Thanks.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum