Transferring files from Linux Server fails

Advertisement

aewhale-ABS
Guest

Transferring files from Linux Server fails

I have used the WinSCP package for many years, and this is the first attempt I've noticed to transfer files from a Linux Server (same one I've been using), to either a Windows PC, or attached Network hard drive.

After selecting the files for transfer, the Directory is created, and then the connection to the linux server fails. There is a pop-up screen that indicates that it will reconnect.

This is WinSCP version 4.2.9 (Build 938). I do have another SCP connection (true Linux to Linux) connection running, but I've never been limited to just one file transfer happening at a time.

Reply with quote

Advertisement

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

Re: Transferring files from Linux Server fails

Please post a full log file showing the problem.

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. For posting extensive logs you may use pastebin or similar application. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). 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.

Reply with quote

decwiz
Joined:
Posts:
1

I'll also confirm this incorrect behavior in 4.2.9 (Build 938).

Copying from a VMware server (linux) to the PC using SCP fails with "server disconnected". Copying the same direction connected using SFTP w/SCP fallback works.

Copying from your PC to the VMware (linux) server works fine in SCP mode.

Version 4.0.4 (Build 346) did not have this problem.

Here's the relevant portion of the log file:
-------------------------------------------------------------
. 2010-12-15 11:34:31.742 Cached directory change via "Iso Images" to "/vmfs/volumes/storage1/Iso Images".
. 2010-12-15 11:34:31.742 Getting current directory name.
. 2010-12-15 11:34:31.742 Listing current directory.
. 2010-12-15 11:34:31.742 Locating to cached directory "/vmfs/volumes/storage1/Iso Images".
> 2010-12-15 11:34:31.742 cd "/vmfs/volumes/storage1/Iso Images" ; echo "WinSCP: this is end-of-file:$?"
< 2010-12-15 11:34:31.773 WinSCP: this is end-of-file:0
> 2010-12-15 11:34:31.773 ls -la --full-time ; echo "WinSCP: this is end-of-file:$?"
< 2010-12-15 11:34:31.820 total 3776576
< 2010-12-15 11:34:31.820 drwxrwxr-x 1 hittnda users 1820 2010-12-15 06:46:03.000000000 -0500 .
< 2010-12-15 11:34:31.820 drwxrwxrwt 1 root root 1260 2010-12-10 05:02:51.000000000 -0500 ..
< 2010-12-15 11:34:31.820 -rw-r--r-- 1 hittnda users 53217280 2010-12-09 04:30:25.000000000 -0500 W2K3SP2_POST_PATCHES.ISO
< 2010-12-15 11:34:31.820 -rw-r--r-- 1 hittnda users 624521216 2010-12-09 04:27:07.000000000 -0500 en_win_srv_2003_r2_enterprise_with_sp2_cd1_X13-05460.iso
< 2010-12-15 11:34:31.820 -rw-r--r-- 1 hittnda users 127309824 2010-12-09 04:27:39.000000000 -0500 en_win_srv_2003_r2_enterprise_with_sp2_cd2_X13-68584.iso
< 2010-12-15 11:34:31.820 -rw-r--r-- 1 hittnda users 623075328 2010-12-09 04:33:07.000000000 -0500 en_win_srv_2003_r2_standard_with_sp2_cd1_X13-04790.iso
< 2010-12-15 11:34:31.820 -rw-r--r-- 1 hittnda users 127713280 2010-12-09 04:33:42.000000000 -0500 en_win_srv_2003_r2_standard_with_sp2_cd2_X13-68583.iso
< 2010-12-15 11:34:31.820 -rw-r--r-- 1 hittnda users 391905280 2010-12-09 04:35:33.000000000 -0500 sol-10-u5-ga-x86-v1.iso
< 2010-12-15 11:34:31.820 -rw-r--r-- 1 hittnda users 376832000 2010-12-09 04:37:08.000000000 -0500 sol-10-u5-ga-x86-v2.iso
< 2010-12-15 11:34:31.820 -rw-r--r-- 1 hittnda users 221184000 2010-12-09 04:38:14.000000000 -0500 sol-10-u5-ga-x86-v3.iso
< 2010-12-15 11:34:31.820 -rw-r--r-- 1 hittnda users 298844160 2010-12-09 04:39:48.000000000 -0500 sol-10-u5-ga-x86-v4.iso
< 2010-12-15 11:34:31.820 -rw-r--r-- 1 hittnda users 467927040 2010-12-09 04:41:51.000000000 -0500 sol-10-u5-ga-x86-v5.iso
< 2010-12-15 11:34:31.820 -rw-r--r-- 1 hittnda users 548630528 2010-12-09 04:30:11.000000000 -0500 w2k3sp2_3959_usa_x86fre_spcd.iso
< 2010-12-15 11:34:31.820 WinSCP: this is end-of-file:0
. 2010-12-15 11:34:38.325 Copying 1 files/directories to local directory "C:\Users\hittnda\Documents\Iso Images\"
. 2010-12-15 11:34:38.325 PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 01; Resume: S (102400); CalcS: Yes; Mask: *.*
. 2010-12-15 11:34:38.325 TM: M; ClAr: No; CPS: 0; ExclM(No):
. 2010-12-15 11:34:38.325 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
> 2010-12-15 11:34:38.325 echo "WinSCP: this is begin-of-file" ; scp -r -p -d -f "sol-10-u5-ga-x86-v1.iso" ; echo "WinSCP: this is end-of-file:$?"
< 2010-12-15 11:34:38.372 WinSCP: this is begin-of-file
. 2010-12-15 11:34:38.372 Sending NULL.
< 2010-12-15 11:34:38.388 T1291887333 0 1292414255 0
. 2010-12-15 11:34:38.388 Sending NULL.
< 2010-12-15 11:34:38.388 C0644 391905280 sol-10-u5-ga-x86-v1.iso
. 2010-12-15 11:34:38.388 Sending NULL.
. 2010-12-15 11:34:38.388 Binary transfer mode selected.
. 2010-12-15 11:34:39.105 Server unexpectedly closed network connection
* 2010-12-15 11:34:39.136 (ESshFatal) Server unexpectedly closed network connection.
* 2010-12-15 11:34:39.136 Copying file 'sol-10-u5-ga-x86-v1.iso' fatally failed.
* 2010-12-15 11:34:39.136 Copying files from remote side failed.

Reply with quote

Advertisement

You can post new topics in this forum