Can remote download fine but only upload a tiny bit



Can remote download fine but only upload a tiny bit

I'm trying to access my home QNAP NAS from work.

I'm connecting via SSH. Connection works fine can browse directories and can download from NAS to work fine.

Problem occurs when I try upload a small binary file (say 300kB)

On drag and drop the transfer screen basically immediately "freezes". After 15 seconds it updates to some portion of the progress bar (35% or 100% or 10% etc.) and again "freezes" until I'm disconnected and the login screen re-appears and it tries again. I have a "filepart" file but it never resumes that.

I'm thinking its a permissions thing? Although I can originally write its just that updating from then on doesn't happen? Not sure why my NAS seems to disconnect/not respond? As mentioned downloading from NAS to Work, no problems.

Sample Log below

Thanks for any ideas

WinSCP Version 4.2.3 (Build 494) (OS 5.1.2600 Service Pack 2)
Login time: Tuesday, 6 October 2009 4:15:00 PM
Session name: Home
Host name: (Port: 40022)
User name: admin (Password: Yes, Key file: No)
Tunnel: No
Transfer Protocol: SFTP (SCP)
Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
Proxy: none
SSH protocol version: 2; Compression: No
Bypass authentication: No
Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
SSH Bugs: -,-,-,-,-,-,-,-,-
SFTP Bugs: -,-
Return code variable: Autodetect; Lookup user groups: Yes
Shell: default, EOL: 1
Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
Cache directory changes: Yes, Permanent: Yes
DST mode: 0
Looking up host ""
Connecting to port 40022
Server version: SSH-2.0-OpenSSH_4.6
Using SSH protocol version 2
We claim version: SSH-2.0-WinSCP_release_4.2.3
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange with hash SHA-1
Host key fingerprint is:
ssh-rsa 2048 ca:33:5e:ac:4e:cb:07:9e:6e:77:f9:5e:0c:02:43:7c
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 "admin".
Prompt (6, SSH password, , &Password: )
Using stored password.
Sent password
Access granted
Opened channel for session
Started a shell/command
Using SFTP protocol.
Doing startup conversation with host.
Type: SSH_FXP_INIT, Size: 5, Number: -1
Type: SSH_FXP_VERSION, Size: 5, Number: -1
SFTP version 3 negotiated.
We believe the server has signed timestamps bug
We will use UTF-8 strings for status messages only
Limiting packet size to OpenSSH sftp-server limit of 262148 bytes
Getting current directory name.
Getting real path for '.'
Type: SSH_FXP_REALPATH, Size: 10, Number: 16
Type: SSH_FXP_NAME, Size: 31, Number: 16
Real path is '/root'
Listing directory "/root".
Type: SSH_FXP_OPENDIR, Size: 14, Number: 267
Type: SSH_FXP_HANDLE, Size: 13, Number: 267
Type: SSH_FXP_READDIR, Size: 13, Number: 524
Type: SSH_FXP_NAME, Size: 1351, Number: 524
Type: SSH_FXP_READDIR, Size: 13, Number: 780
Reading symlink ".BitTornado".
Type: SSH_FXP_READLINK, Size: 26, Number: 1043
Type: SSH_FXP_STAT, Size: 26, Number: 1297
Type: SSH_FXP_STATUS, Size: 28, Number: 780
Storing reserved response
Type: SSH_FXP_NAME, Size: 33, Number: 1043
Type: SSH_FXP_ATTRS, Size: 37, Number: 1297
Reading symlink ".ssh".
Type: SSH_FXP_READLINK, Size: 19, Number: 1555
Type: SSH_FXP_STAT, Size: 19, Number: 1809
Type: SSH_FXP_NAME, Size: 51, Number: 1555
Type: SSH_FXP_ATTRS, Size: 37, Number: 1809
Status/error code: 1
Type: SSH_FXP_CLOSE, Size: 13, Number: 2052
Startup conversation with host finished.


> 2009-10-06 16:31:30.202 Type: SSH_FXP_CLOSE, Size: 13, Number: 18436
. 2009-10-06 16:32:47.358 Copying 1 files/directories to remote directory "/share/HDA_DATA/Public/TV and ggg/"
. 2009-10-06 16:32:47.374   PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 01; Resume: N (102400); CalcS: Yes; Mask: *.*
. 2009-10-06 16:32:47.374   TM: M; ClAr: No; CPS: 0; ExclM(No): 
. 2009-10-06 16:32:47.374   AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2009-10-06 16:32:47.374 File: "C:\Documents and Settings\peterg\Desktop\Downloads\Calvin.JPG"
. 2009-10-06 16:32:47.483 Copying "C:\Documents and Settings\peterg\Desktop\Downloads\Calvin.JPG" to remote directory started.
. 2009-10-06 16:32:47.499 Binary transfer mode selected.
. 2009-10-06 16:32:47.514 Opening remote file.
> 2009-10-06 16:32:47.514 Type: SSH_FXP_OPEN, Size: 72, Number: 18691
< 2009-10-06 16:32:47.514 Type: SSH_FXP_STATUS, Size: 24, Number: 18436
. 2009-10-06 16:32:47.514 Discarding reserved response
< 2009-10-06 16:32:47.561 Type: SSH_FXP_HANDLE, Size: 13, Number: 18691
> 2009-10-06 16:32:47.561 Type: SSH_FXP_WRITE, Size: 3332, Number: 19206
> 2009-10-06 16:32:47.561 Type: SSH_FXP_CLOSE, Size: 13, Number: 19460
> 2009-10-06 16:32:47.561 Type: SSH_FXP_SETSTAT, Size: 68, Number: 18953
. 2009-10-06 16:33:02.561 Waiting for data timed out, asking user what to do.
. 2009-10-06 16:33:02.780 Asking user:
. 2009-10-06 16:33:02.780 Host is not communicating for 15 seconds.    

Reply with quote

Site Admin
martin avatar
Prague, Czechia

Re: Can remote download fine but only upload a tiny bit

Please email me Debug-2 level log file.
Martin Prikryl

Reply with quote


You can post new topics in this forum