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?