Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Atit wrote:

THis is how, right? session.AddRawSettings

It's sessionOptions.AddRawSettings. The example was wrong. It's fixed now.
Atit

Sorry, got it... thanks

THis is how, right? session.AddRawSettings
Atit

Thanks prikryl.

But when we use the code as example shown in WinSCP .net assembly. We are unable to see 'SFTPMaxVersion' property or anything listed on https://winscp.net/eng/docs/rawsettings.

Is there separate class in .Net we should use?
Atit

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