Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

Re: Network error: Connection refused :: winscp .net assembly

Please post a complete log file from both GUI and your code.

Though as GUI works, you can start by having the GUI generate a matching code template for you:
https://winscp.net/eng/docs/ui_generateurl#code
mpeixoto

Network error: Connection refused :: winscp .net assembly

Hi,

I tried to connect to SFTP server via .net application using a private key but the Acces is denied. Error message says "Network error: Connection refused". When I try to connect via WinSCP application using the same key I can connect without any problems.
It so confusing