Topic "I cannot download large files"

Author Message
Boris Berdichevski

Guest


I want to download a large file (11,247 KB) and transfer failed: Server unexpectly closed network connection. Tryed on versions 4.3.3, 4.3.6, 5.0.5
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Can you try 5.0.5 with disabled session option Optimize connection buffer size?
https://winscp.net/eng/docs/ui_login_connection
_________________
Martin Prikryl
jOkEr

Guest


the only solution we have found - try to use version 3.8.2 build 330 - IT WORKS.





But the folowing version do not work
WinSCP Version 4.3.3 (Build 1340) (OS 5.1.2600 Service Pack 3)
the version before also do not work
keepalives

The error: Server unexpectedly closed network connection
Copying file 'syslog_info' fatally failed.
Copying files from remote side failed.

The process starts but ends with 6M - 11Megabytes of 47M file tranfer.

Comparing log files:


WinSCP Version 3.8.2 (Build 330) (OS 5.1.2600 Service Pack 3)
. 2012-02-16 12:11:03.933 Transfer Protocol: SFTP (SCP)
. 2012-02-16 12:11:03.933 SSH protocol version: 2; Compression: No
. 2012-02-16 12:11:03.933 Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2012-02-16 12:11:03.933 Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. 2012-02-16 12:11:03.933 Ping type: N, Ping interval: 30 sec; Timeout: 15 sec
. 2012-02-16 12:11:03.933 SSH Bugs: -,-,-,-,-,-,-,-
. 2012-02-16 12:11:03.933 SFTP Bugs: -,-,-
. 2012-02-16 12:11:03.933 Proxy: none
. 2012-02-16 12:11:03.933 Return code variable: Autodetect; Lookup user groups: Yes
. 2012-02-16 12:11:03.933 Shell: default, EOL: 0
. 2012-02-16 12:11:03.933 Local directory: default, Remote directory: /home/xxx, Update: No, Cache: Yes
. 2012-02-16 12:11:03.933 Cache directory changes: Yes, Permanent: Yes
. 2012-02-16 12:11:03.933 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2012-02-16 12:11:03.933 Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No

. 2012-02-16 12:11:25.215 Copying 1 files/directories to local directory "xxx_Desktop\"
. 2012-02-16 12:11:25.215 PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 01; Resume: S (102400); CalcS: Yes; Mask: *.*
. 2012-02-16 12:11:25.215 TM: M; ClAr: No; ExclM(No):
. 2012-02-16 12:11:25.215 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2012-02-16 12:11:25.215 Sent 108 bytes
. 2012-02-16 12:11:25.215 There are 0 bytes remaining in the send buffer
. 2012-02-16 12:11:25.215 Sent 1 bytes
. 2012-02-16 12:11:25.215 There are 0 bytes remaining in the send buffer
> 2012-02-16 12:11:25.215 echo "WinSCP: this is begin-of-file" ; scp -r -p -d -f "syslog_info" ; echo "WinSCP: this is end-of-file:$?"


WinSCP Version 4.3.3 (Build 1340) (OS 5.1.2600 Service Pack 3)
. 2012-02-16 11:56:49.497 Tunnel: No
. 2012-02-16 11:56:49.497 Transfer Protocol: SFTP (SCP)
. 2012-02-16 11:56:49.497 Ping type: N, Ping interval: 30 sec; Timeout: 15 sec
. 2012-02-16 11:56:49.497 Proxy: none
. 2012-02-16 11:56:49.497 SSH protocol version: 2; Compression: No
. 2012-02-16 11:56:49.497 Bypass authentication: No
. 2012-02-16 11:56:49.497 Try agent: No; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2012-02-16 11:56:49.497 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2012-02-16 11:56:49.497 SSH Bugs: -,-,-,-,-,-,-,-,-
. 2012-02-16 11:56:49.497 SFTP Bugs: -,-
. 2012-02-16 11:56:49.497 Return code variable: Autodetect; Lookup user groups: Yes
. 2012-02-16 11:56:49.497 Shell: default
. 2012-02-16 11:56:49.497 EOL: 0, UTF: 2
. 2012-02-16 11:56:49.497 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2012-02-16 11:56:49.497 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2012-02-16 11:56:49.497 Local directory: default, Remote directory: /home/xxx, Update: No, Cache: Yes
. 2012-02-16 11:56:49.497 Cache directory changes: Yes, Permanent: Yes
. 2012-02-16 11:56:49.497 DST mode: 1
...
. 2012-02-16 11:57:06.810 Copying 1 files/directories to local directory "xxx_Desktop\"
. 2012-02-16 11:57:06.810 PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 01; Resume: S (102400); CalcS: Yes; Mask: *.*
. 2012-02-16 11:57:06.810 TM: M; ClAr: No; CPS: 0; ExclM(No):
. 2012-02-16 11:57:06.810 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2012-02-16 11:57:06.810 Sent 108 bytes
. 2012-02-16 11:57:06.810 There are 0 bytes remaining in the send buffer
. 2012-02-16 11:57:06.810 Looking for network events
. 2012-02-16 11:57:06.810 Timeout waiting for network events
. 2012-02-16 11:57:06.810 Sent 1 bytes
. 2012-02-16 11:57:06.810 There are 0 bytes remaining in the send buffer
. 2012-02-16 11:57:06.810 Looking for network events
. 2012-02-16 11:57:06.810 Timeout waiting for network events
> 2012-02-16 11:57:06.810 echo "WinSCP: this is begin-of-file" ; scp -r -p -d -f "syslog_info" ; echo "WinSCP: this is end-of-file:$?"
...
. 2012-02-16 11:57:06.810 Waiting for another 1 bytes
. 2012-02-16 11:57:06.810 Looking for incoming data
. 2012-02-16 11:57:06.810 Looking for network events
. 2012-02-16 11:57:06.919 Detected network event
. 2012-02-16 11:57:06.919 Enumerating network events for socket 604
. 2012-02-16 11:57:06.919 Enumerated 1 network events making 1 cumulative events for socket 604
. 2012-02-16 11:57:06.919 Handling network read event on socket 604 with error 0
. 2012-02-16 11:57:06.919 Received 30 bytes (0)
. 2012-02-16 11:57:06.919 Read 1 bytes (29 pending)
. 2012-02-16 11:57:06.919 Read 29 bytes (0 pending)
< 2012-02-16 11:57:06.919 WinSCP: this is begin-of-file
. 2012-02-16 11:57:06.919 Sending NULL.
. 2012-02-16 11:57:06.919 Sent 1 bytes
. 2012-02-16 11:57:06.919 There are 0 bytes remaining in the send buffer
. 2012-02-16 11:57:06.919 Looking for network events
. 2012-02-16 11:57:06.919 Timeout waiting for network events
. 2012-02-16 11:57:06.919 Waiting for another 1 bytes
. 2012-02-16 11:57:06.919 Looking for incoming data
. 2012-02-16 11:57:06.919 Looking for network events
. 2012-02-16 11:57:06.935 Detected network event
. 2012-02-16 11:57:06.935 Enumerating network events for socket 604
. 2012-02-16 11:57:06.935 Enumerated 1 network events making 1 cumulative events for socket 604
. 2012-02-16 11:57:06.935 Handling network read event on socket 604 with error 0
. 2012-02-16 11:57:06.935 Received 27 bytes (0)
. 2012-02-16 11:57:06.935 Read 1 bytes (26 pending)
. 2012-02-16 11:57:06.935 Read 26 bytes (0 pending)
< 2012-02-16 11:57:06.935 T1329122163 0 1329382479 0
. 2012-02-16 11:57:06.935 Sending NULL.
. 2012-02-16 11:57:06.935 Sent 1 bytes
. 2012-02-16 11:57:06.935 There are 0 bytes remaining in the send buffer
. 2012-02-16 11:57:06.935 Looking for network events
. 2012-02-16 11:57:06.935 Timeout waiting for network events
. 2012-02-16 11:57:06.935 Waiting for another 1 bytes
. 2012-02-16 11:57:06.935 Looking for incoming data
. 2012-02-16 11:57:06.935 Looking for network events
. 2012-02-16 11:57:06.935 Detected network event
. 2012-02-16 11:57:06.935 Enumerating network events for socket 604
. 2012-02-16 11:57:06.935 Enumerated 1 network events making 1 cumulative events for socket 604
. 2012-02-16 11:57:06.935 Handling network read event on socket 604 with error 0
. 2012-02-16 11:57:06.935 Received 27 bytes (0)
. 2012-02-16 11:57:06.935 Read 1 bytes (26 pending)
. 2012-02-16 11:57:06.935 Read 26 bytes (0 pending)
< 2012-02-16 11:57:06.935 C0640 47654602 syslog_info
...
. 2012-02-16 11:57:32.451 Enumerating network events for socket 604
. 2012-02-16 11:57:32.451 Enumerated 33 network events making 33 cumulative events for socket 604
. 2012-02-16 11:57:32.451 Handling network read event on socket 604 with error 0
. 2012-02-16 11:57:32.451 Handling network close event on socket 604 with error 0
. 2012-02-16 11:57:32.451 Selecting events 0 for socket 604
. 2012-02-16 11:57:32.451 Server unexpectedly closed network connection
* 2012-02-16 11:57:32.451 (ESshFatal) Server unexpectedly closed network connection.
* 2012-02-16 11:57:32.451 Copying file 'syslog_info' fatally failed.
* 2012-02-16 11:57:32.451 Copying files from remote side failed.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Have you tried to follow my suggestion?
_________________
Martin Prikryl
Boris Berdichevski

Guest


I tried to install version 4.1.9 -- all's Ok!
And next version have the bug.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Again, have you tried 5.0.6 beta with disabled Optimize connection buffer size?
https://winscp.net/eng/docs/ui_login_connection
_________________
Martin Prikryl
infiniteegolfer

Guest


In version 5.5, which I just downloaded, disabling 'Optimize connection buffer size' does indeed solve the problem.

This is not in the global preferences, but rather in the settings for the connection. To disable it:

Edit the Session
Click the 'Advanced...' button
Select 'Connection'
Uncheck 'Optimize connection buffer size'
Save and enjoy downloading large files once again.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
infiniteegolfer wrote:
In version 5.5, which I just downloaded, disabling 'Optimize connection buffer size' does indeed solve the problem.

This is not in the global preferences, but rather in the settings for the connection. To disable it:

Edit the Session
Click the 'Advanced...' button
Select 'Connection'
Uncheck 'Optimize connection buffer size'
Save and enjoy downloading large files once again.

Thanks for your feedback. Any chance of getting a test account on your server?
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License