Use SFTP version 4.
WinSCP fails to connect to an SFTP server using version 5 of SFTP protocol.
From the UI, I'm able to downgrade to version 4, and then, the connection succesds.
How can I do the same thing with the COM interface ?
Thanks.
[EDIT]
I guess I found the trick.
SessionOptions.AddRawSettings "SFTPMaxVersion", "4"
[EDIT]
The trick works.
Notice that you can't change a previously set raw setting, you need a new SessionOptions object.
From the UI, I'm able to downgrade to version 4, and then, the connection succesds.
How can I do the same thing with the COM interface ?
Thanks.
[EDIT]
I guess I found the trick.
SessionOptions.AddRawSettings "SFTPMaxVersion", "4"
[EDIT]
The trick works.
Notice that you can't change a previously set raw setting, you need a new SessionOptions object.