Server unexpectedly closed network connection

Advertisement

rvannaamen
Joined:
Posts:
4
Location:
's-Hertogenbosch - Netherlands

Server unexpectedly closed network connection

Dear miss, sir.

I'm trying to transfer files from an external Linux server (Linux lopik 2.6.16.27-0.9-smp #1 SMP Tue Feb 13 09:35:18 UTC 2007 x86_64 x86_64 x86_64 GNU/Linux) to my local windows machine (Windows XP Professional version 2002 Service Pack 3) using WinSCP GUI version 4.3.5 (build 1463), Commander mode, protocol SCP, but during the transfer I regularly get the error:

Server unexpectedly closed network connection
Copying file 'xxxxx.xxx' fatally failed.
Copying files from remote side failed.

Some transfer actions succeed, but a lot are terminated with this error during the transfer.
The files are not bigger than 40mb.
Transfer mode is Binary.
The same problem occurs with older versions of WinSCP.

Here is a part of the logging:

. 2011-11-15 13:47:14.588 [Background 1] Copying 1 files/directories to local directory "C:\Temp\"
. 2011-11-15 13:47:14.588 [Background 1] PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 01; Resume: Y (102400); CalcS: Yes; Mask: *.*
. 2011-11-15 13:47:14.588 [Background 1] TM: B; ClAr: No; CPS: 0; ExclM(No):
. 2011-11-15 13:47:14.588 [Background 1] AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
> 2011-11-15 13:47:14.588 [Background 1] echo "WinSCP: this is begin-of-file" ; scp -r -p -d -f "xxxxx.xxx" ; echo "WinSCP: this is end-of-file:$?"
< 2011-11-15 13:47:14.666 [Background 1] WinSCP: this is begin-of-file
. 2011-11-15 13:47:14.666 [Background 1] Sending NULL.
< 2011-11-15 13:47:14.682 [Background 1] T1321351023 0 1321360366 0
. 2011-11-15 13:47:14.682 [Background 1] Sending NULL.
< 2011-11-15 13:47:14.697 [Background 1] C0755 36848025 xxxxx.xxx
. 2011-11-15 13:47:14.697 [Background 1] Sending NULL.
. 2011-11-15 13:47:14.697 [Background 1] Binary transfer mode selected.
. 2011-11-15 13:47:56.198 [Background 1] Server unexpectedly closed network connection
. 2011-11-15 13:47:56.213 [Background 1] Asking user:
. 2011-11-15 13:47:56.213 [Background 1] Server unexpectedly closed network connection. ("Copying file 'xxxxx.xxx' fatally failed.","Copying files from remote side failed.")

Can you please help me?

Kind regards,
Raymond van Naamen

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Re: Server unexpectedly closed network connection

Can you first try it with SFTP? Btw, is there any reason you are using SCP?

Reply with quote

rvannaamen
Joined:
Posts:
4
Location:
's-Hertogenbosch - Netherlands

It's a server in Switserland and I am connecting to it from the Netherlands.
Now, if I try SFTP, I get the message 'Cannot initialize SFTP protocol. Is the host running a SFTP server?'.
I guess the other site is only set up to do a SCP connection.

Kind regards,
Raymond van Naamen

Reply with quote

rvannaamen
Joined:
Posts:
4
Location:
's-Hertogenbosch - Netherlands

Just a small note to this post:
If I transfer the other way around, the connection does not terminate.
SCP is used because I tranfer directly to a linux server and it must be a secured connection.

Kind regards,
Raymond van Naamen

Reply with quote

Advertisement

rvannaamen
Joined:
Posts:
4
Location:
's-Hertogenbosch - Netherlands

It looks like this version runs stable.
I did a test transfer of a 7gb file and at 10% it was still not disconnected.
Thank you very much.

Kind regards,
Raymond van Naamen

Reply with quote

Advertisement

You can post new topics in this forum