Topic "Server unexpectedly closed network connection"

Author Message
Aerykian
[View user's profile]

Joined: 2014-11-12
Posts: 3
Location: Houston TX
Greetings,

I am attempting to connect to an sFTP server using the .Net assembly. I have set the session options protocol to Sftp, our username, password, and hostname. I've obtained our host key fingerprint from the GUI, and even explicitly set the port number to 22.

When I attempt to open the session, I receive the exception 'Server unexpectedly closed network connection'.

Am I missing something?

Thank you!
Advertisements
Aerykian
[View user's profile]

Joined: 2014-11-12
Posts: 3
Location: Houston TX
UPDATE:

I've worked with the remote company, our IP was blacklisted. We have been removed from the blacklist.

Now I am receiving the error "Connection has been unexpectedly closed. Server sent command exit status 0." Question

Thanks
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Aerykian wrote:
Now I am receiving the error "Connection has been unexpectedly closed. Server sent command exit status 0." Question

That's still something THEY need to work out.
See https://winscp.net/eng/docs/message_exit_status_1
_________________
Martin Prikryl
Aerykian
[View user's profile]

Joined: 2014-11-12
Posts: 3
Location: Houston TX
Prikryl,
Thanks so much! I worked with their EDI person to resolve the issue, our account was getting locked.

Also a word to the wise ... Notepad++ likes underlining hyperlinks, which makes a 'y' look like a 'v'. Embarassed
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License