Change SFTP protocol via .Net assembly

Advertisement

Atit
Joined:
Posts:
3
Location:
Miami, FL

Change SFTP protocol via .Net assembly

Hi,

Our client's SFTP server has 'SFTP protocol version' 3 and we are using WinSCP 5.7

How can we set protocol version to 3 via .Net assembly (C# class).

Currently due to protocol version mismatch, we are getting "SSE2636 Command rejected due to sftp proxy policy settings: SSH_FXP_INIT"

Please help as we are not very familiar with SFTP/WinSCP.

Thanks,
Atit Shah

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Atit wrote:

THis is how, right? session.AddRawSettings
It's sessionOptions.AddRawSettings. The example was wrong. It's fixed now.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum