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

Advertisement

Brian@arlingtonink.com
Joined:
Posts:
6
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:
41,469
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

Guest

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

Martin one last try I switched to another server company files.com
the weird thing now is using the gui and trying to upload a file it now fails like in command mode bill.log attached

Reply with quote

Advertisement

martin
Site Admin
martin avatar

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

@Brian: The script log does not include any actual transfer. It just includes a failed attempt to start an upload of a non-existing file.

Reply with quote

Advertisement

You can post new topics in this forum