Topic "What happens if we get an error during scripted operation"

Author Message
don.pratt

Guest


A questions has been raised by the operator of an SFTP site that I'm connecting to with WinSCP. Their question is "Are you ending SFTP Session if your SFTP Client unable to establish connection?" Based on the error I'm seeing in the log (Server unexpectedly closed network connection), the connection is being closed by them. As far as I can tell, our script simply stops at this point and there is nothing more that we can do. Can someone confirm that when the above error is reported, the connection to the server is closed and there is nothing to do to make it "more closed".

Thanks,
Don
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Connection is closed from your WinSCP point of view. Definitely there's nothing that WinSCP can do to make it more closed.

Particularly if there is router/firewall or anything similar between WinSCP and the server, it does not necessarily mean that the connection is closed from server's point of view. That's the same as with any other TCP/IP client.
_________________
Martin Prikryl
don.pratt

Guest


Thanks, Martin!
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