network error: Software caused connection abort when uploading in a script file!

Advertisement

Brian@arlingtonink.com
Joined:
Posts:
5
Location:
New York

network error: Software caused connection abort when uploading in a script file!

I can use the get command to download files in the dos command line, I can upload in the graphical interface with out problems. But when I try to use the put command in the command prompt, I keep getting this error:
network error: Software caused connection abort
Tried turning off my firewall still no luck, tried the put command in a few other SFTP sites and get the same. Could this be a bug? Any ideas?
Thanks!
C:\Program Files (x86)\WinSCP>winscp
winscp> open cdisettle
Searching for host...
Connecting to host...
Authenticating...
Using username "cdisettle".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Session started.
Active session: [1] cdisettle
winscp> put cdi_cs_car*.odb
Using configured transfer settings different from factory defaults.
cdi_cs_car20210930.odb    |          61 KB |  188.8 KB/s | binary | 100%
Network error: Software caused connection abort
(A)bort, (R)econnect (0 s): Reconnect
Searching for host...
Connecting to host...
Authenticating...
Using username "cdisettle".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Session started.
cdi_cs_car20210930.odb    |          61 KB |  190.1 KB/s | binary | 100%
Network error: Software caused connection abort
(A)bort, (R)econnect (0 s): Reconnect
Searching for host...
Connecting to host...
Authenticating...
Using username "cdisettle".
Authenticating with pre-entered password.
Authenticated.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
36,205
Location:
Prague, Czechia

Re: network error: Software caused connection abort when uploading in a script file!

Can you upload the file in WinSCP GUI? In any other SFTP client?

Reply with quote

martin
Site Admin
martin avatar

Re: network error: Software caused connection abort when uploading in a script file!

Thanks. Can you enable more verbose logging (Debug 2)? Also please post logs for the very same file in both scenarios.

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Re: network error: Software caused connection abort when uploading in a script file!

Sorry, I was not able to identify anything useful in the log.
Try reducing transfer speed using -speed switch. Or turn off connection optimization using -rawsettings SendBuf=0 in the open command.
Are you other servers also ancient OpenSSH 4.3 (from 2006)?

Reply with quote

Advertisement

You can post new topics in this forum