Fatal Failure with transfer of large files

Advertisement

Kimberly713
Guest

Fatal Failure with transfer of large files

I am having some trouble transferring large files (~19 MB) without getting a fatal failure error message. I am able to fully transfer smaller files successfully.

I am currently using the latest version of WinSCP, no upgrades. I'm running on a Windows XP OS, version 2002. The transfer protocol is SCP and I am using the GUI commander interface.

After signing in to WinSCP, I type in the directory that contains the .img files on the remote server that I would like to transfer. I click on the 19MB file and drag it over to my local directory on the C drive. The transfer starts to copy and upload to the local directory, but stops about 70,000B into the transfer with the following error:

Error:
Server Unexpectedly closed network connection.
Copying file 'filename.img' fatally failed.
Copying file from remote side failed.


The following is the logging information from the session.

Copying 1 files/directories to local directory "C:\Profiles\User\My Documents\SpecStudy\m029632\"
PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 01; Resume: S (102400); CalcS: Yes; Mask: *.*
TM: M; ClAr: No; CPS: 0; ExclM(No):
AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
echo "WinSCP: this is begin-of-file" ; scp -r -p -d -f "m029632_090731sc_wat_13_1.img" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is begin-of-file
Sending NULL.
T1263476666 0 1263477107 0
Sending NULL.
C0664 19660800 m029632_090731sc_wat_13_1.img
Sending NULL.
Binary transfer mode selected.
Server unexpectedly closed network connection
(ESshFatal) Server unexpectedly closed network connection.
Copying file 'm029632_090731sc_wat_13_1.img' fatally failed.
Copying files from remote side failed.
Looking up host "godzilla.kennedykrieger.org"
Connecting to 12.110.104.149 port 22
Server version: SSH-2.0-Sun_SSH_1.1.2
Using SSH protocol version 2
We claim version: SSH-2.0-WinSCP_release_4.2.5
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange with hash SHA-1
Host key fingerprint is:
ssh-rsa 1024 14:94:3f:68:9a:2c:34:b2:57:36:28:90:59:33:fb:fc
Initialised AES-256 SDCTR client->server encryption
Initialised HMAC-SHA1 client->server MAC algorithm
Initialised AES-256 SDCTR server->client encryption
Initialised HMAC-SHA1 server->client MAC algorithm
Using username "malle".
Prompt (5, SSH server authentication, Using keyboard-interactive authentication., Password: )
Using stored password.
Access granted
Opened channel for session
Started a shell/command
Doing startup conversation with host.
Skipping host startup message (if any).
echo "WinSCP: this is end-of-file:$status"
Warning: no access to tty (Bad file number).
Thus no job control in this shell.
Sun Microsystems Inc. SunOS godzilla 5.10 Generic_141444-09
NOTICE!!!!!!!! ---PLEASE READ--- NOTICE!!!!!!!! ---PLEASE READ---
If you do not understand how files are stored on /g1 and /g2 please read
http://godzilla...... If you do not understand these
operations, contact Joe (j@.edu 443 923).
Tapes can be damaged and data lost by improper use of these filesystems.
Godzilla OS Upgrade - godzilla's operating system is upgraded to Solaris 10.
Please notify me of any problems or issues with applications or data access
).
Disk quota for /users is 2,000 MBytes.
---------- Total --------- ----- Online ------ ---- Offline ------
Volume MBytes Files Dirs MBytes Files MBytes Files
g1 3,223 409 9 3,223 409 0 0
g2 974,050 2,029,039 4,145 142,132 205,196 831,918 1,823,843
users 97 3,398 393
setenv: Syntax Error.
WinSCP: this is end-of-file:1
Detecting variable containing return code of last command.
Trying "$status".
echo "$status" ; echo "WinSCP: this is end-of-file:$status"
0
WinSCP: this is end-of-file:0
Return code variable "$status" selected.
Clearing all aliases.
unalias "ls" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "echo" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "pwd" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "cd" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "groups" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "scp" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "rm" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "mv" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "mkdir" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "chmod" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "chgrp" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "chown" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "unset" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "unalias" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "ln" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "cp" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
Clearing national user variables.
unset "LANG" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "LANGUAGE" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "LC_CTYPE" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "LC_COLLATE" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "LC_MONETARY" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "LC_NUMERIC" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "LC_TIME" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "LC_MESSAGES" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "LC_ALL" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "HUMAN_BLOCKS" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
Changing directory to "/g2/malle/rowland/m029632_090731".
cd "/g2/malle/rowland/m029632_090731" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
Getting current directory name.
pwd ; echo "WinSCP: this is end-of-file:$status"
/g2/malle/rowland/m029632_090731
WinSCP: this is end-of-file:0
Cached directory not reloaded.
Listing current directory.


The log goes on to list the current files in the directory.

Is there something else that I can try or some option I can change that will enable the transfer of these larger files?
[/b]

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
31,935
Location:
Prague, Czechia

Re: Fatal Failure with transfer of large files

Have you tried SFTP?
_________________
Martin Prikryl

Reply with quote

Mattes
Guest

same problem here

When using the 4.2.5 build, we encounter the same problem.
This does not happen when using 4.1.8
(However, thanks for that fine program)

Logfile (some information changed for privacy reasons):

. 2010-02-05 10:07:23.173 --------------------------------------------------------------------------
. 2010-02-05 10:07:23.173 WinSCP Version 4.2.5 (Build 624) (OS 5.1.2600 Service Pack 3)
. 2010-02-05 10:07:23.173 Login time: Freitag, 5. Februar 2010 10:07:23
. 2010-02-05 10:07:23.173 --------------------------------------------------------------------------
. 2010-02-05 10:07:23.173 Session name: root@myhost
. 2010-02-05 10:07:23.173 Host name: myhost (Port: 22)
. 2010-02-05 10:07:23.173 User name: root (Password: No, Key file: Yes)
. 2010-02-05 10:07:23.173 Tunnel: No
. 2010-02-05 10:07:23.173 Transfer Protocol: SCP
. 2010-02-05 10:07:23.173 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2010-02-05 10:07:23.173 Proxy: none
. 2010-02-05 10:07:23.173 SSH protocol version: 2; Compression: No
. 2010-02-05 10:07:23.173 Bypass authentication: No
. 2010-02-05 10:07:23.173 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2010-02-05 10:07:23.173 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2010-02-05 10:07:23.173 SSH Bugs: -,-,-,-,-,-,-,-,-
. 2010-02-05 10:07:23.173 SFTP Bugs: -,-
. 2010-02-05 10:07:23.173 Return code variable: Autodetect; Lookup user groups: Yes
. 2010-02-05 10:07:23.173 Shell: default, EOL: 0
. 2010-02-05 10:07:23.188 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2010-02-05 10:07:23.188 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2010-02-05 10:07:23.188 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2010-02-05 10:07:23.188 Cache directory changes: Yes, Permanent: Yes
. 2010-02-05 10:07:23.188 DST mode: 1
. 2010-02-05 10:07:23.188 --------------------------------------------------------------------------
. 2010-02-05 10:07:23.266 Looking up host "myhost"
. 2010-02-05 10:07:23.266 Connecting to 192.168.47.11 port 22
. 2010-02-05 10:07:23.282 Server version: SSH-2.0-OpenSSH_3.6.1p2
. 2010-02-05 10:07:23.282 Using SSH protocol version 2
. 2010-02-05 10:07:23.282 We claim version: SSH-2.0-WinSCP_release_4.2.5
. 2010-02-05 10:07:23.282 Doing Diffie-Hellman group exchange
. 2010-02-05 10:07:23.313 Doing Diffie-Hellman key exchange with hash SHA-1
. 2010-02-05 10:07:23.891 Host key fingerprint is:
. 2010-02-05 10:07:24.001 ssh-rsa 1024 70:b0:43:04:97:ee:8a:f9:aa:4d:01:15:61:a8:85:cb
. 2010-02-05 10:07:24.001 Initialised AES-256 CBC client->server encryption
. 2010-02-05 10:07:24.001 Initialised HMAC-SHA1 client->server MAC algorithm
. 2010-02-05 10:07:24.001 Initialised AES-256 CBC server->client encryption
. 2010-02-05 10:07:24.001 Initialised HMAC-SHA1 server->client MAC algorithm
. 2010-02-05 10:07:24.001 Reading private key file "C:\Dokumente und Einstellungen\myname\Eigene Dateien\is_dsa.ppk"
! 2010-02-05 10:07:24.001 Using username "root".
. 2010-02-05 10:07:24.016 Offered public key
. 2010-02-05 10:07:24.048 Offer of public key accepted
! 2010-02-05 10:07:24.048 Authenticating with public key "mypublickey"
. 2010-02-05 10:07:24.048 Prompt (2, SSH key passphrase, , Passphrase for key "mypublickey": )
. 2010-02-05 10:07:27.126 Access granted
. 2010-02-05 10:07:27.141 Opened channel for session
. 2010-02-05 10:07:27.173 Started a shell/command
. 2010-02-05 10:07:27.173 --------------------------------------------------------------------------
. 2010-02-05 10:07:27.313 Using SCP protocol.
. 2010-02-05 10:07:27.313 Doing startup conversation with host.
. 2010-02-05 10:07:27.313 Skipping host startup message (if any).
> 2010-02-05 10:07:27.313 echo "WinSCP: this is end-of-file:0"
< 2010-02-05 10:07:27.360 WinSCP: this is end-of-file:0
. 2010-02-05 10:07:27.485 Detecting variable containing return code of last command.
. 2010-02-05 10:07:27.485 Trying "$status".
> 2010-02-05 10:07:27.485 echo "$status" ; echo "WinSCP: this is end-of-file:0"
< 2010-02-05 10:07:27.688 WinSCP: this is end-of-file:0
. 2010-02-05 10:07:27.766 The response is not numerical exit code
. 2010-02-05 10:07:27.782 Trying "$?".
> 2010-02-05 10:07:27.782 echo "$?" ; echo "WinSCP: this is end-of-file:0"
< 2010-02-05 10:07:27.813 0
< 2010-02-05 10:07:28.126 WinSCP: this is end-of-file:0
. 2010-02-05 10:07:28.220 Return code variable "$?" selected.
. 2010-02-05 10:07:28.220 Clearing all aliases.
> 2010-02-05 10:07:28.220 unalias "ls" ; echo "WinSCP: this is end-of-file:$?"
! 2010-02-05 10:07:28.251 -bash: line 4: unalias: ls: not found
< 2010-02-05 10:07:28.563 WinSCP: this is end-of-file:1
> 2010-02-05 10:07:28.657 unalias "echo" ; echo "WinSCP: this is end-of-file:$?"
! 2010-02-05 10:07:28.688 -bash: line 5: unalias: echo: not found
< 2010-02-05 10:07:29.001 WinSCP: this is end-of-file:1
> 2010-02-05 10:07:29.063 unalias "pwd" ; echo "WinSCP: this is end-of-file:$?"
! 2010-02-05 10:07:29.095 -bash: line 6: unalias: pwd: not found
< 2010-02-05 10:07:29.329 WinSCP: this is end-of-file:1
> 2010-02-05 10:07:29.391 unalias "cd" ; echo "WinSCP: this is end-of-file:$?"
! 2010-02-05 10:07:29.423 -bash: line 7: unalias: cd: not found
< 2010-02-05 10:07:29.657 WinSCP: this is end-of-file:1
> 2010-02-05 10:07:29.720 unalias "groups" ; echo "WinSCP: this is end-of-file:$?"
! 2010-02-05 10:07:29.751 -bash: line 8: unalias: groups: not found
< 2010-02-05 10:07:29.985 WinSCP: this is end-of-file:1
> 2010-02-05 10:07:30.048 unalias "scp" ; echo "WinSCP: this is end-of-file:$?"
! 2010-02-05 10:07:30.079 -bash: line 9: unalias: scp: not found
< 2010-02-05 10:07:30.313 WinSCP: this is end-of-file:1
> 2010-02-05 10:07:30.376 unalias "rm" ; echo "WinSCP: this is end-of-file:$?"
< 2010-02-05 10:07:30.423 WinSCP: this is end-of-file:0
> 2010-02-05 10:07:30.423 unalias "mv" ; echo "WinSCP: this is end-of-file:$?"
< 2010-02-05 10:07:30.454 WinSCP: this is end-of-file:0
> 2010-02-05 10:07:30.454 unalias "mkdir" ; echo "WinSCP: this is end-of-file:$?"
! 2010-02-05 10:07:30.501 -bash: line 12: unalias: mkdir: not found
< 2010-02-05 10:07:30.751 WinSCP: this is end-of-file:1
> 2010-02-05 10:07:30.907 unalias "chmod" ; echo "WinSCP: this is end-of-file:$?"
! 2010-02-05 10:07:30.938 -bash: line 13: unalias: chmod: not found
< 2010-02-05 10:07:31.188 WinSCP: this is end-of-file:1
> 2010-02-05 10:07:31.220 unalias "chgrp" ; echo "WinSCP: this is end-of-file:$?"
! 2010-02-05 10:07:31.251 -bash: line 14: unalias: chgrp: not found
< 2010-02-05 10:07:31.516 WinSCP: this is end-of-file:1
> 2010-02-05 10:07:31.595 unalias "chown" ; echo "WinSCP: this is end-of-file:$?"
! 2010-02-05 10:07:31.626 -bash: line 15: unalias: chown: not found
< 2010-02-05 10:07:31.845 WinSCP: this is end-of-file:1
> 2010-02-05 10:07:31.923 unalias "unset" ; echo "WinSCP: this is end-of-file:$?"
! 2010-02-05 10:07:31.954 -bash: line 16: unalias: unset: not found
< 2010-02-05 10:07:32.282 WinSCP: this is end-of-file:1
> 2010-02-05 10:07:32.360 unalias "unalias" ; echo "WinSCP: this is end-of-file:$?"
! 2010-02-05 10:07:32.391 -bash: line 17: unalias: unalias: not found
< 2010-02-05 10:07:32.720 WinSCP: this is end-of-file:1
> 2010-02-05 10:07:32.813 unalias "ln" ; echo "WinSCP: this is end-of-file:$?"
! 2010-02-05 10:07:32.845 -bash: line 18: unalias: ln: not found
< 2010-02-05 10:07:33.157 WinSCP: this is end-of-file:1
> 2010-02-05 10:07:33.251 unalias "cp" ; echo "WinSCP: this is end-of-file:$?"
< 2010-02-05 10:07:33.282 WinSCP: this is end-of-file:0
. 2010-02-05 10:07:33.282 Clearing national user variables.
> 2010-02-05 10:07:33.282 unset "LANG" ; echo "WinSCP: this is end-of-file:$?"
< 2010-02-05 10:07:33.313 WinSCP: this is end-of-file:0
> 2010-02-05 10:07:33.313 unset "LANGUAGE" ; echo "WinSCP: this is end-of-file:$?"
< 2010-02-05 10:07:33.360 WinSCP: this is end-of-file:0
> 2010-02-05 10:07:33.360 unset "LC_CTYPE" ; echo "WinSCP: this is end-of-file:$?"
< 2010-02-05 10:07:33.391 WinSCP: this is end-of-file:0
> 2010-02-05 10:07:33.391 unset "LC_COLLATE" ; echo "WinSCP: this is end-of-file:$?"
< 2010-02-05 10:07:33.438 WinSCP: this is end-of-file:0
> 2010-02-05 10:07:33.438 unset "LC_MONETARY" ; echo "WinSCP: this is end-of-file:$?"
< 2010-02-05 10:07:33.470 WinSCP: this is end-of-file:0
> 2010-02-05 10:07:33.657 unset "LC_NUMERIC" ; echo "WinSCP: this is end-of-file:$?"
< 2010-02-05 10:07:33.688 WinSCP: this is end-of-file:0
> 2010-02-05 10:07:33.688 unset "LC_TIME" ; echo "WinSCP: this is end-of-file:$?"
< 2010-02-05 10:07:33.735 WinSCP: this is end-of-file:0
> 2010-02-05 10:07:33.735 unset "LC_MESSAGES" ; echo "WinSCP: this is end-of-file:$?"
< 2010-02-05 10:07:33.782 WinSCP: this is end-of-file:0
> 2010-02-05 10:07:33.782 unset "LC_ALL" ; echo "WinSCP: this is end-of-file:$?"
< 2010-02-05 10:07:33.813 WinSCP: this is end-of-file:0
> 2010-02-05 10:07:33.813 unset "HUMAN_BLOCKS" ; echo "WinSCP: this is end-of-file:$?"
< 2010-02-05 10:07:33.860 WinSCP: this is end-of-file:0
. 2010-02-05 10:07:34.016 Looking up groups and users.
> 2010-02-05 10:07:34.016 groups ; echo "WinSCP: this is end-of-file:$?"
< 2010-02-05 10:07:34.063 root bin daemon sys adm disk wheel
< 2010-02-05 10:07:34.251 WinSCP: this is end-of-file:0
. 2010-02-05 10:07:34.313 Following groups found:
. 2010-02-05 10:07:34.313   "root" [0]
. 2010-02-05 10:07:34.313   "bin" [0]
. 2010-02-05 10:07:34.313   "daemon" [0]
. 2010-02-05 10:07:34.313   "sys" [0]
. 2010-02-05 10:07:34.313   "adm" [0]
. 2010-02-05 10:07:34.313   "disk" [0]
. 2010-02-05 10:07:34.313   "wheel" [0]
. 2010-02-05 10:07:34.313 Following membership found:
. 2010-02-05 10:07:34.313   "root" [0]
. 2010-02-05 10:07:34.313   "bin" [0]
. 2010-02-05 10:07:34.313   "daemon" [0]
. 2010-02-05 10:07:34.313   "sys" [0]
. 2010-02-05 10:07:34.313   "adm" [0]
. 2010-02-05 10:07:34.313   "disk" [0]
. 2010-02-05 10:07:34.313   "wheel" [0]
. 2010-02-05 10:07:34.313 Following users found:
. 2010-02-05 10:07:34.313   "root" [0]
. 2010-02-05 10:07:34.313   "bin" [0]
. 2010-02-05 10:07:34.313   "daemon" [0]
. 2010-02-05 10:07:34.313   "sys" [0]
. 2010-02-05 10:07:34.313   "adm" [0]
. 2010-02-05 10:07:34.313   "disk" [0]
. 2010-02-05 10:07:34.313   "wheel" [0]
. 2010-02-05 10:07:34.313 Getting current directory name.
> 2010-02-05 10:07:34.313 pwd ; echo "WinSCP: this is end-of-file:$?"
< 2010-02-05 10:07:34.360 /root
< 2010-02-05 10:07:34.688 WinSCP: this is end-of-file:0
. 2010-02-05 10:07:35.141 Listing current directory.
> 2010-02-05 10:07:35.141 ls -la --full-time ; echo "WinSCP: this is end-of-file:$?"
< 2010-02-05 10:07:35.173 total 32
 
 --- directory information removed ---

 < 2010-02-05 10:07:35.454 WinSCP: this is end-of-file:0
. 2010-02-05 10:07:35.626 Directory listing with --full-time succeed, next time all errors during directory listing will be displayed immediatelly.
. 2010-02-05 10:07:35.626 Startup conversation with host finished.
. 2010-02-05 10:07:57.079 Cached directory change via ".." to "/".
. 2010-02-05 10:07:57.126 Getting current directory name.
. 2010-02-05 10:07:57.126 Listing current directory.
. 2010-02-05 10:07:57.126 Locating to cached directory "/".
> 2010-02-05 10:07:57.126 cd "/" ; echo "WinSCP: this is end-of-file:$?"
< 2010-02-05 10:07:57.157 WinSCP: this is end-of-file:0
> 2010-02-05 10:07:57.157 ls -la --full-time ; echo "WinSCP: this is end-of-file:$?"
< 2010-02-05 10:07:57.204 total 213
 
 --- directory information removed ---


< 2010-02-05 10:07:57.204 WinSCP: this is end-of-file:0
. 2010-02-05 10:08:00.126 Cached directory change via "home" to "/home".
. 2010-02-05 10:08:00.173 Getting current directory name.
. 2010-02-05 10:08:00.173 Listing current directory.
. 2010-02-05 10:08:00.173 Locating to cached directory "/home".
> 2010-02-05 10:08:00.173 cd "/home" ; echo "WinSCP: this is end-of-file:$?"
< 2010-02-05 10:08:00.220 WinSCP: this is end-of-file:0
> 2010-02-05 10:08:00.220 ls -la --full-time ; echo "WinSCP: this is end-of-file:$?"
< 2010-02-05 10:08:00.251 total 16
 
 --- directory information removed ---

< 2010-02-05 10:08:00.501 WinSCP: this is end-of-file:0
. 2010-02-05 10:08:02.032 Cached directory change via "username" to "/home/username".
. 2010-02-05 10:08:02.079 Getting current directory name.
. 2010-02-05 10:08:02.095 Listing current directory.
. 2010-02-05 10:08:02.095 Locating to cached directory "/home/username".
> 2010-02-05 10:08:02.095 cd "/home/username" ; echo "WinSCP: this is end-of-file:$?"
< 2010-02-05 10:08:02.126 WinSCP: this is end-of-file:0
> 2010-02-05 10:08:02.126 ls -la --full-time ; echo "WinSCP: this is end-of-file:$?"
 
 --- directory information removed ---

< 2010-02-05 10:08:02.360 WinSCP: this is end-of-file:0
. 2010-02-05 10:08:04.876 Changing directory to "cpinfo".
> 2010-02-05 10:08:04.923 cd "cpinfo" ; echo "WinSCP: this is end-of-file:$?"
< 2010-02-05 10:08:04.970 WinSCP: this is end-of-file:0
. 2010-02-05 10:08:04.970 Getting current directory name.
> 2010-02-05 10:08:04.970 pwd ; echo "WinSCP: this is end-of-file:$?"
< 2010-02-05 10:08:05.001 /home/username/cpinfo
< 2010-02-05 10:08:05.314 WinSCP: this is end-of-file:0
. 2010-02-05 10:08:05.501 Listing current directory.
> 2010-02-05 10:08:05.501 ls -la --full-time ; echo "WinSCP: this is end-of-file:$?"
< 2010-02-05 10:08:05.532 total 101792
< 2010-02-05 10:08:05.532 drwxrwx---    2 root     root         4096 2010-02-03 12:39:54.000000000 +0100 .
< 2010-02-05 10:08:05.532 drwx------    6 root     root         4096 2008-09-25 15:33:58.000000000 +0200 ..
< 2010-02-05 10:08:05.532 -rw-rw----    1 root     root     51840101 2010-01-08 22:00:34.000000000 +0100 20100108__myhost.gz
< 2010-02-05 10:08:05.532 -rw-rw----    1 root     root     52265496 2010-02-03 12:39:54.000000000 +0100 20100203__myhost.gz
< 2010-02-05 10:08:05.860 WinSCP: this is end-of-file:0
. 2010-02-05 10:08:20.095 Copying 1 files/directories to local directory "C:\Dokumente und Einstellungen\myname\Eigene Dateien\"
. 2010-02-05 10:08:20.126   PrTime: Yes; PrRO: Yes; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 01; Resume: S (102400); CalcS: Yes; Mask: *.*
. 2010-02-05 10:08:20.126   TM: M; ClAr: No; CPS: 0; ExclM(No): 
. 2010-02-05 10:08:20.126   AscM: *.*html; *.htm; *.txt; *.php*; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
> 2010-02-05 10:08:20.126 echo "WinSCP: this is begin-of-file" ; scp -r -p -d -f "20100203__myhost.gz" ; echo "WinSCP: this is end-of-file:$?"
< 2010-02-05 10:08:20.157 WinSCP: this is begin-of-file
. 2010-02-05 10:08:20.157 Sending NULL.
< 2010-02-05 10:08:20.157 T1265197194 0 1265324714 0
. 2010-02-05 10:08:20.157 Sending NULL.
< 2010-02-05 10:08:20.157 C0660 52265496 20100203__myhost.gz
. 2010-02-05 10:08:20.298 Sending NULL.
. 2010-02-05 10:08:20.298 Binary transfer mode selected.
. 2010-02-05 10:08:20.439 Server unexpectedly closed network connection
* 2010-02-05 10:08:20.548 (ESshFatal) Die Netzwerkverbindung wurde vom entfernten Rechner unerwartet geschlossen
* 2010-02-05 10:08:20.548 Kopieren der Datei '20100203__myhost.gz' schlug fehl (aber richtig!).
* 2010-02-05 10:08:20.548 Kopieren von Dateien vom entfernten Rechner schlug fehl.
[/code]

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
31,935
Location:
Prague, Czechia

Re: same problem here

Can you post a log file from 4.1.8?
_________________
Martin Prikryl

Reply with quote

Guest
Guest

problem with transfer large files

WinSCP can't anymore transfer large files.
tested with 4.2.5 and 4.2.6

The last correct version was 4.1.9

Reply with quote

Advertisement

Guest

Re: problem with transfer large files

Guest wrote:

WinSCP can't anymore transfer large files.
tested with 4.2.5 and 4.2.6

The last correct version was 4.1.9

Guest wrote:

WinSCP can't anymore transfer large files.
tested with 4.2.5 and 4.2.6

The last correct version was 4.1.9

+1

With 4.1.9 everything works fine, but with 4.2.5 and 4.2.6 from the same server I can't transfer large files. I successfully transfer files of 8 MB, but can't transfer even 16MB, it fails with the error
"Server Unexpectedly closed network connection.
Copying file 'filename.img' fatally failed.
Copying file from remote side failed."
after transferring few bytes.
I tested it on few different servers, all of them running different types of Linux, and in all cases it was just as described above.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
31,935
Location:
Prague, Czechia

Re: same problem here

Anonymous wrote:

martin wrote:

Can you post a log file from 4.1.8?
Here from 4.1.9

...
Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.

_________________
Martin Prikryl

Reply with quote

sunnyboy
Guest

Large file transfer fails

I am having the same problem. It worked with the previous version, but the new version won't transfer large files.

When can we expect a new version with the fix?

Reply with quote

Advertisement

reddflash
Guest

same problem

I've the same problem with version 4.2.7. All versions since 4.2.0beta have the same problem with larger files. I assume it could be somehow related to the
- Improved flow control with SSH-2, what improved transfer speed, particularly for downloads.
(see version history), which was introduced in version 4.2.0beta? Just an idea... Maybe it helps?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
31,935
Location:
Prague, Czechia

Re: same problem

reddflash wrote:

I've the same problem with version 4.2.7. All versions since 4.2.0beta have the same problem with larger files. I assume it could be somehow related to the
- Improved flow control with SSH-2, what improved transfer speed, particularly for downloads.
(see version history), which was introduced in version 4.2.0beta? Just an idea... Maybe it helps?
Possibly. I'm checking all possibilities.
_________________
Martin Prikryl

Reply with quote

Rene
Guest

its a problem with sun SSH and winscp 4.2.x

I think its a problem winscp working with sunSSH. I have the same problem with winscp 4.2.6 and sunSSH but winscp 4.2.6 and openSSH it works fine.

Reply with quote

Advertisement

Guest

I am facing the same issue.
Could you please let me know the associated bug number.
Have tried searching it in the tracker but no luck.
I have also upgraded to version 4.2.8 build 818 but the issue still persists.

Reply with quote

Advertisement

pb
Guest

I just ran into this issue today with 4.2.7. I've just tried 4.3.0 and I get the same thing.

I downloaded 4.1.8 and it works fine.

Reply with quote

reaper
Guest

Hi,

something new on that one ?

Were running into the same problem. Tried 4.19 and it works fine. But as you know, language settings dont work with 4.19 on Windows 7 :(

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
31,935
Location:
Prague, Czechia

unpatented wrote:

It's a bug in OpenSSH that WinSCP is now triggering... I commented on it here:
https://winscp.net/forum/viewtopic.php?t=8762

Perhaps someone with privileges can add it to the bug tracker?

The workaround is to use version 4.1.9 or switch to sftp mode instead of using scp.
Thanks for your post. This issue has been added to tracker.
_________________
Martin Prikryl

Reply with quote

Advertisement

pocaracas
Guest

Sorry for digging out such an old thread, but... I just tried v4.2.9 and 4.3.6 and the problem still exists! :(
Went for 4.1.9 and this one works well! I'm using Win7 Home Premium.

Only large files are affected... large means >~10MB. I had an 11MB file that failed to go, but an 8MB file went through fine.


The strange thing is, I've been using that 4.2.9 for about 2 years and it has been working fine. Then I had a small problem with my HDD and had to replace it. New windows installation, new everything. And now it doesn't work. But 4.1.9 does!
Maybe it's the windows installation. I had the one ASUS built-into the laptop. And now I have one I downloaded from M$.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
31,935
Location:
Prague, Czechia

Have you checked the reference to tracker above? Does it help?
_________________
Martin Prikryl

Reply with quote

Advertisement

TJ
Guest

Re: Fatal Failure with transfer of large files

Go to Advanced Option > Connection > Under Connection, Clear the "Optimize connection buffer size" and try

Kimberly713 wrote:

I am having some trouble transferring large files (~19 MB) without getting a fatal failure error message. I am able to fully transfer smaller files successfully.

I am currently using the latest version of WinSCP, no upgrades. I'm running on a Windows XP OS, version 2002. The transfer protocol is SCP and I am using the GUI commander interface.

After signing in to WinSCP, I type in the directory that contains the .img files on the remote server that I would like to transfer. I click on the 19MB file and drag it over to my local directory on the C drive. The transfer starts to copy and upload to the local directory, but stops about 70,000B into the transfer with the following error:

Error:
Server Unexpectedly closed network connection.
Copying file 'filename.img' fatally failed.
Copying file from remote side failed.


The following is the logging information from the session.

Copying 1 files/directories to local directory "C:\Profiles\User\My Documents\SpecStudy\m029632\"
PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 01; Resume: S (102400); CalcS: Yes; Mask: *.*
TM: M; ClAr: No; CPS: 0; ExclM(No):
AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
echo "WinSCP: this is begin-of-file" ; scp -r -p -d -f "m029632_090731sc_wat_13_1.img" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is begin-of-file
Sending NULL.
T1263476666 0 1263477107 0
Sending NULL.
C0664 19660800 m029632_090731sc_wat_13_1.img
Sending NULL.
Binary transfer mode selected.
Server unexpectedly closed network connection
(ESshFatal) Server unexpectedly closed network connection.
Copying file 'm029632_090731sc_wat_13_1.img' fatally failed.
Copying files from remote side failed.
Looking up host "godzilla.kennedykrieger.org"
Connecting to 12.110.104.149 port 22
Server version: SSH-2.0-Sun_SSH_1.1.2
Using SSH protocol version 2
We claim version: SSH-2.0-WinSCP_release_4.2.5
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange with hash SHA-1
Host key fingerprint is:
ssh-rsa 1024 14:94:3f:68:9a:2c:34:b2:57:36:28:90:59:33:fb:fc
Initialised AES-256 SDCTR client->server encryption
Initialised HMAC-SHA1 client->server MAC algorithm
Initialised AES-256 SDCTR server->client encryption
Initialised HMAC-SHA1 server->client MAC algorithm
Using username "malle".
Prompt (5, SSH server authentication, Using keyboard-interactive authentication., Password: )
Using stored password.
Access granted
Opened channel for session
Started a shell/command
Doing startup conversation with host.
Skipping host startup message (if any).
echo "WinSCP: this is end-of-file:$status"
Warning: no access to tty (Bad file number).
Thus no job control in this shell.
Sun Microsystems Inc. SunOS godzilla 5.10 Generic_141444-09
NOTICE!!!!!!!! ---PLEASE READ--- NOTICE!!!!!!!! ---PLEASE READ---
If you do not understand how files are stored on /g1 and /g2 please read
http://godzilla...... If you do not understand these
operations, contact Joe (j@.edu 443 923).
Tapes can be damaged and data lost by improper use of these filesystems.
Godzilla OS Upgrade - godzilla's operating system is upgraded to Solaris 10.
Please notify me of any problems or issues with applications or data access
).
Disk quota for /users is 2,000 MBytes.
---------- Total --------- ----- Online ------ ---- Offline ------
Volume MBytes Files Dirs MBytes Files MBytes Files
g1 3,223 409 9 3,223 409 0 0
g2 974,050 2,029,039 4,145 142,132 205,196 831,918 1,823,843
users 97 3,398 393
setenv: Syntax Error.
WinSCP: this is end-of-file:1
Detecting variable containing return code of last command.
Trying "$status".
echo "$status" ; echo "WinSCP: this is end-of-file:$status"
0
WinSCP: this is end-of-file:0
Return code variable "$status" selected.
Clearing all aliases.
unalias "ls" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "echo" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "pwd" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "cd" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "groups" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "scp" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "rm" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "mv" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "mkdir" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "chmod" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "chgrp" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "chown" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "unset" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "unalias" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "ln" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unalias "cp" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
Clearing national user variables.
unset "LANG" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "LANGUAGE" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "LC_CTYPE" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "LC_COLLATE" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "LC_MONETARY" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "LC_NUMERIC" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "LC_TIME" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "LC_MESSAGES" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "LC_ALL" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
unset "HUMAN_BLOCKS" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
Changing directory to "/g2/malle/rowland/m029632_090731".
cd "/g2/malle/rowland/m029632_090731" ; echo "WinSCP: this is end-of-file:$status"
WinSCP: this is end-of-file:0
Getting current directory name.
pwd ; echo "WinSCP: this is end-of-file:$status"
/g2/malle/rowland/m029632_090731
WinSCP: this is end-of-file:0
Cached directory not reloaded.
Listing current directory.


The log goes on to list the current files in the directory.

Is there something else that I can try or some option I can change that will enable the transfer of these larger files?
[/b]

Reply with quote

JamesBrown
Guest

Re: Fatal Failure with transfer of large files

TJ wrote:

Go to Advanced Option > Connection > Under Connection, Clear the "Optimize connection buffer size" and try

I don't see this option anywhere in 4.3.7. I have the Advanced Option checkbox selected but when I go to the Connection tab on the left side, I see no "Optimize connection buffer size". Can you be more specific about where this is?

Reply with quote

JamesBrown
Guest

Can't find "Optimize connection buffer size" option anywhere

martin wrote:

Have you checked the reference to tracker above? Does it help?

Martin,

Like everyone else, I'm also seeing this problem. If I revert to 4.1.9, everything works fine. Every version I've tried past that has the problem (429, 432, 433, 435, 437).

In the tracker you say that you added an 'Auto' option to the "Optimize connection buffer size" option and that previously 'Off' was required to solve the problem.

I can't seem to find the "Optimize connection buffer size" option anywhere in 4.3.7. Is it hiding somewhere I'm not looking? Another poster, TJ, said to look under Advanced Options | Connection but I don't see it there. Can you give me a pointer to where I can set this option?

I would much prefer to use 4.3.7 instead of 4.1.9 but I need to be able to transfer large files. Any help would be appreciated.

- James

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
31,935
Location:
Prague, Czechia

Re: Can't find "Optimize connection buffer size" option anywhere

JamesBrown wrote:

I can't seem to find the "Optimize connection buffer size" option anywhere in 4.3.7. Is it hiding somewhere I'm not looking? Another poster, TJ, said to look under Advanced Options | Connection but I don't see it there. Can you give me a pointer to where I can set this option?
It's available in 5.0.6 beta only. Can you please try it?
_________________
Martin Prikryl

Reply with quote

Advertisement

Guest

Re: Can't find "Optimize connection buffer size" option anywhere

martin wrote:


It's available in 5.0.6 beta only. Can you please try it?

YES! I can confirm that WinSCP 5.0.6 (build 2074) WORKS when connecting from Win 7 Enterprise 64-bit to CentOS 4.4 with the "Optimize connection buffer size" option off (unchecked).

I tried it with the "Optimize connection buffer size" option checked and unchecked. When the option is checked (on) WinSCP FAILS to download my test file (85 meg). When the option is unchecked (off) WinSCP WORKS using the same test file. I also confirmed (via md5sum) that the downloaded file is bit-identical with the source.

I don't, however, see an option of "auto" or anything other than on/off (checked / unchecked) for the "Optimize connection buffer size" option. Is that somewhere else or is that an option in a different version?

Thanks,

- James[/u]

Reply with quote

Guest2
Guest

Re: Can't find "Optimize connection buffer size" option anywhere

Hello,
I tested it also in it worked! Transfer of large files.
But i normally use a batch file to copy my large files.
How can I disable this option "Optimize connection buffer size" in a batch file
The batch file is started like this.
winscp.exe /console /script=c:\scripts\copyfiles_script.txt /log="c:\scripts\copyfiles.log"

Regards
Jeffie

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
31,935
Location:
Prague, Czechia

Re: Can't find "Optimize connection buffer size" option anywhere

Can either of you (ideally both) post a log files with and without the Optimize connection buffer size set?

If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.

_________________
Martin Prikryl

Reply with quote

JamesBrown
Guest

Re: Can't find "Optimize connection buffer size" option anywhere

martin wrote:

Can either of you (ideally both) post a log files with and without the Optimize connection buffer size set?

If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.

Your forum software wont let me post it (I don't know why it wont allow a 4M text post :shock: ) and it isn't worth the hassle to create an account just to get your email address. If you want a copy of the log files you can email me at amFtZXNBVGhtcGdET1RuZXQgDQo= (base64 encoded). I will also try to attach a zip with both files to this post.

Thanks,

- James
Description: Here are the log files you requested. The names should be obvious, but in case they are not, bad.log is the failed attempt; good.log is the one that worked.

Reply with quote

Advertisement

Guest

Re: Fatal Failure with transfer of large files

Kimberly713 wrote:

I am having some trouble transferring large files (~19 MB) without getting a fatal failure error message. I am able to fully transfer smaller files successfully.

I am currently using the latest version of WinSCP, no upgrades. I'm running on a Windows XP OS, version 2002. The transfer protocol is SCP and I am using the GUI commander interface.

[/b]


Try running it from the command line, find the WinSCP.com file, it's usually in C:\"Program Files"\WinSCP, so in a Windows Command Prompt window type

C:\"Program Files"\WinSCP\WinSCP.com

And it will give you a winscp prompt

winscp>

From there, it's basically the same as ftp from the command line

winscp>open username@server

After entering your password, use put to transfer a file to the server or get to transfer a file from the server. close closes the connection, and exit gets you out of WinSCP.

I couldn't figure out any way to transfer a 5 GB file through the gui, but it worked like a charm from the command line.

Reply with quote

joeyjojo
Joined:
Posts:
1
Location:
Oxford, UK

I found a similar problem today transferring a 6 GB file over a LAN. Interestingly it happened with the old version I had installed (version 3 I think) and still with the newest release.

With the optimised buffer size I would get a variety of errors, and with it disabled I get a sustained transfer speed of 3,200 KiB/s or so.

Admin - I'll send some logs to your email address later which I hope will help you fix this bug.

Cheers

Reply with quote

Advertisement

You can post new topics in this forum