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: Software caused connection abort when downloading files of a few MB via script

It's definitely not common behavior. But I cannot tell why it is happening. There something wrong about the server for sure, if it crashes with ascii transfers.
kerstind

Re: Network error: Software caused connection abort when downloading files of a few MB via script

Ah, thank you. that seems to do the trick. Interesting, because the files are actually ascii and not binary files. Thank you very much.

One quick follow up question:
There are still a lot of instances where the network connection appears to drop, but it automatically reconnects. Is there something we can do about this or should we not be concerned?
I attached an updated log that shows the error
Network error: Software caused connection abort ()
Script: Network error: Software caused connection abort
Script: Searching for host...

Thanks again!
martin

Re: Network error: Software caused connection abort when downloading files of a few MB via script

Sorry for late answer. I was away.

In GUI you are using a binary mode. In scripting, you are using an ascii mode. Does it make any difference, if you switch to the binary mode in scripting?
kerstind

Network error: Software caused connection abort when downloading files of a few MB via script

I set the debug level to 2, which created a very large debug log file, so shortened it a bit to be able to upload it. Hopefully it contains all the info you need. Thanks!
martin

Re: Network error: Software caused connection abort when downloading files of a few MB via script

Can you also provide us with a log file from GUI showing a successful download of the same files?
kerstind

Network error: Software caused connection abort when downloading files of a few MB via script

We're running into an issue when getting files of a few MB via a WinSCP script. It works fine when getting the files through the UI.
I've add a timeout of 300 seconds and set the option 'Optimize connection buffer size'

WinSCP version: 5.13.2 (Build 8455)
Windows O/S: (OS 6.1.7601 Service Pack 1 - Windows 7 Professional)

The failure is
> 2018-07-10 11:58:42.953 Type: SSH_FXP_READ, Size: 29, Number: 2309
. 2018-07-10 11:59:06.806 Network error: Software caused connection abort
. 2018-07-10 11:59:06.806 Connection was lost, asking what to do.
. 2018-07-10 11:59:06.821 Asking user:
. 2018-07-10 11:59:06.821 Network error: Software caused connection abort ()
< 2018-07-10 11:59:06.821 Script: Network error: Software caused connection abort
< 2018-07-10 11:59:13.061 Script: Searching for host...[/size]

The full log file and download script files are attached.

Thanks!