Exiting WinSCP sometimes throws error "Connection Unexpectedly Closed" (exit code 128)

Advertisement

Elaskanator
Joined:
Posts:
4
Location:
USA

Exiting WinSCP sometimes throws error "Connection Unexpectedly Closed" (exit code 128)

When I close WinSCP entirely (e.g. Alt+F4) I frequently (but not always) get this error message, which seems to be superfluous given I'm already trying to disconnect and it's warning me about a disconnect.

The server is hosted by iPower, and connection method is SFTP protocol.

Description: Screenshot of warning message popup upon closing WinSCP

2022-12-12 16_41_57-Error - WinSCP.jpg

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
38,438
Location:
Prague, Czechia

Re: Exiting WinSCP sometimes throws error "Connection Unexpectedly Closed" (exit code 128)

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

Advertisement

You can post new topics in this forum