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

k3flo

Thank you very much.
That fixed the problem. Everything works fine now.
martin

Re: Trouble with special character in password

Correct approach is to make WinSCP accept URL with UTF-8 encoded characters.
https://winscp.net/tracker/1062

I'm sending you a dev version with the change for testing.

I appreciate any feedback.
k3flo

Trouble with special character in password

Hi,

i'm trying to connect to an SFTP Server using the latest beta release (5.2.4 beta).
Connecting via WinSCP.exe works fine.
Connecting via .NET (4.0) assembly fails on password authentication.

I reflected the WindSCPnet.dll and found the issue. The SessionOptionsToOpenArguments()-method in Session.cs Uri-escapes the Password using Uri.EscapeDataString(). The problem is that the Uri.EscapeDataString()-method returns %C2%A7 for the character § instead of %A7 which is expected.

Any ideas to force the Uri.EscapeDataString()-method to return %A7 instead of %C2%A7?
Any other ideas?

Thank you.