Topic "Problem with uploading files ~< 20kb"

Author Message
Guest




For some time I have a problem with uploading a file larger than about 20kB.
In this case I always receive a massage that the connection is timed out.
Below is a log from winscp 4.2.7 (B. 758)

Code:

. 2010-05-11 12:19:23.562 Listing directory "/var/www/domain/puretea/images".
> 2010-05-11 12:19:23.562 Type: SSH_FXP_OPENDIR, Size: 44, Number: 34059
< 2010-05-11 12:19:23.593 Type: SSH_FXP_HANDLE, Size: 13, Number: 34059
> 2010-05-11 12:19:23.593 Type: SSH_FXP_READDIR, Size: 13, Number: 34316
< 2010-05-11 12:19:23.640 Type: SSH_FXP_NAME, Size: 431, Number: 34316
> 2010-05-11 12:19:23.640 Type: SSH_FXP_READDIR, Size: 13, Number: 34572
< 2010-05-11 12:19:23.687 Type: SSH_FXP_STATUS, Size: 28, Number: 34572
< 2010-05-11 12:19:23.687 Status code: 1
> 2010-05-11 12:19:23.687 Type: SSH_FXP_CLOSE, Size: 13, Number: 34820
. 2010-05-11 12:19:28.593 Copying 1 files/directories to remote directory "/var/www/domain/puretea/images/"
. 2010-05-11 12:19:28.593   PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 01; Resume: Y (102400); CalcS: Yes; Mask: *.*
. 2010-05-11 12:19:28.593   TM: M; ClAr: No; CPS: 0; ExclM(No):
. 2010-05-11 12:19:28.593   AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2010-05-11 12:19:28.593 File: "D:\www\puretea\images\logo.jpg"
. 2010-05-11 12:19:28.625 Copying "D:\www\puretea\images\logo.jpg" to remote directory started.
. 2010-05-11 12:19:28.625 Binary transfer mode selected.
. 2010-05-11 12:19:28.625 Checking existence of file.
> 2010-05-11 12:19:28.625 Type: SSH_FXP_LSTAT, Size: 53, Number: 35079
< 2010-05-11 12:19:28.625 Type: SSH_FXP_STATUS, Size: 24, Number: 34820
. 2010-05-11 12:19:28.625 Discarding reserved response
< 2010-05-11 12:19:28.656 Type: SSH_FXP_STATUS, Size: 29, Number: 35079
< 2010-05-11 12:19:28.656 Status code: 2
. 2010-05-11 12:19:28.656 Checking existence of partially transfered file.
> 2010-05-11 12:19:28.656 Type: SSH_FXP_LSTAT, Size: 62, Number: 35335
< 2010-05-11 12:19:28.703 Type: SSH_FXP_STATUS, Size: 29, Number: 35335
< 2010-05-11 12:19:28.703 Status code: 2
. 2010-05-11 12:19:28.703 Opening remote file.
> 2010-05-11 12:19:28.703 Type: SSH_FXP_OPEN, Size: 78, Number: 35587
< 2010-05-11 12:19:28.734 Type: SSH_FXP_HANDLE, Size: 13, Number: 35587
> 2010-05-11 12:19:28.750 Type: SSH_FXP_WRITE, Size: 4121, Number: 36102
. 2010-05-11 12:19:28.750 8 skipped SSH_FXP_WRITE, SSH_FXP_READ, SSH_FXP_DATA and SSH_FXP_STATUS packets.
> 2010-05-11 12:19:28.750 Type: SSH_FXP_CLOSE, Size: 13, Number: 38404
< 2010-05-11 12:19:29.109 Type: SSH_FXP_STATUS, Size: 24, Number: 36102
. 2010-05-11 12:19:44.109 Waiting for data timed out, asking user what to do.
. 2010-05-11 12:19:44.109 Asking user:
. 2010-05-11 12:19:44.109 Host nie komunikuje już od 15 sekund.
. 2010-05-11 12:19:44.109
. 2010-05-11 12:19:44.109 Zaczekaj kolejne 15 sekund? ()
. 2010-05-11 12:19:57.640 Attempt to close connection due to fatal exception:
* 2010-05-11 12:19:57.640 Zakończono z polecenia użytkownika.
. 2010-05-11 12:19:57.640 Closing connection.
. 2010-05-11 12:19:57.640 Sending special code: 12
. 2010-05-11 12:19:57.640 Sent EOF message
. 2010-05-11 12:19:57.640 Fatal error while disposing the SFTP queue.
. 2010-05-11 12:19:57.640 Connection was lost, asking what to do.
. 2010-05-11 12:19:57.640 Asking user:
. 2010-05-11 12:19:57.640 Zakończono z polecenia użytkownika. ()
* 2010-05-11 12:19:59.312 (ESshFatal) Zakończono z polecenia użytkownika.
* 2010-05-11 12:19:59.312 Nie powiodło się kopiowanie plikw do maszyny odległej.
. 2010-05-11 12:20:00.171 Looking up host "10.2.1.1"
. 2010-05-11 12:20:00.171 Connecting to 10.2.1.1 port 22
. 2010-05-11 12:20:13.078 Failed to connect to 10.2.1.1: Network error: Software caused connection abort
* 2010-05-11 12:20:13.093 (ESshFatal) Network error: Software caused connection abort
. 2010-05-11 12:20:15.984 Looking up host "10.2.1.1"
. 2010-05-11 12:20:15.984 Connecting to 10.2.1.1 port 22
. 2010-05-11 12:20:37.171 Failed to connect to 10.2.1.1: Network error: Connection timed out
* 2010-05-11 12:20:37.171 (ESshFatal) Błąd sieci: Koniec czasu połączenia.
. 2010-05-11 12:21:54.687 Looking up host "10.2.1.1"
. 2010-05-11 12:21:54.687 Connecting to 10.2.1.1 port 22
. 2010-05-11 12:21:54.781 Server version: SSH-2.0-OpenSSH_5.1p1 Debian-5
. 2010-05-11 12:21:54.781 Using SSH protocol version 2
. 2010-05-11 12:21:54.781 We claim version: SSH-2.0-WinSCP_release_4.2.7
. 2010-05-11 12:21:54.859 Doing Diffie-Hellman group exchange
. 2010-05-11 12:21:55.421 Doing Diffie-Hellman key exchange with hash SHA-1
. 2010-05-11 12:21:55.984 Host key fingerprint is:
. 2010-05-11 12:21:55.984 ssh-rsa 2048 16:bb:ad:cf:8d:70:ea:3d:0e:84:5e:61:f8:83:26:48
. 2010-05-11 12:21:55.984 Initialised AES-256 SDCTR client->server encryption
. 2010-05-11 12:21:55.984 Initialised HMAC-SHA1 client->server MAC algorithm
. 2010-05-11 12:21:55.984 Initialised AES-256 SDCTR server->client encryption
. 2010-05-11 12:21:55.984 Initialised HMAC-SHA1 server->client MAC algorithm
! 2010-05-11 12:21:56.296 Using username "root".
. 2010-05-11 12:21:56.343 Prompt (6, SSH password, , &Hasło: )
. 2010-05-11 12:21:56.343 Using stored password.
. 2010-05-11 12:21:56.359 Sent password
. 2010-05-11 12:21:56.390 Access granted
. 2010-05-11 12:21:56.437 Opened channel for session
. 2010-05-11 12:21:56.734 Started a shell/command
. 2010-05-11 12:21:56.734 Doing startup conversation with host.
> 2010-05-11 12:21:56.734 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2010-05-11 12:21:56.781 Type: SSH_FXP_VERSION, Size: 95, Number: -1
. 2010-05-11 12:21:56.781 SFTP version 3 negotiated.
. 2010-05-11 12:21:56.781 Unknown server extension posix-rename@openssh.com="1"
. 2010-05-11 12:21:56.781 Unknown server extension statvfs@openssh.com="2"
. 2010-05-11 12:21:56.781 Unknown server extension fstatvfs@openssh.com="2"
. 2010-05-11 12:21:56.781 We believe the server has signed timestamps bug
. 2010-05-11 12:21:56.781 We will use UTF-8 strings for status messages only
. 2010-05-11 12:21:56.781 Limiting packet size to OpenSSH sftp-server limit of 262148 bytes
. 2010-05-11 12:21:56.781 Changing directory to "/var/www/domain/puretea/images".
. 2010-05-11 12:21:56.781 Getting real path for '/var/www/domain/puretea/images'
> 2010-05-11 12:21:56.781 Type: SSH_FXP_REALPATH, Size: 44, Number: 38672
< 2010-05-11 12:21:56.812 Type: SSH_FXP_NAME, Size: 91, Number: 38672
. 2010-05-11 12:21:56.812 Real path is '/var/www/domain/puretea/images'
. 2010-05-11 12:21:56.812 Trying to open directory "/var/www/domain/puretea/images".
> 2010-05-11 12:21:56.812 Type: SSH_FXP_LSTAT, Size: 44, Number: 38919
< 2010-05-11 12:21:56.859 Type: SSH_FXP_ATTRS, Size: 37, Number: 38919
. 2010-05-11 12:21:56.859 Getting current directory name.
. 2010-05-11 12:21:56.859 Listing directory "/var/www/domain/puretea/images".
> 2010-05-11 12:21:56.859 Type: SSH_FXP_OPENDIR, Size: 44, Number: 39179
< 2010-05-11 12:21:56.906 Type: SSH_FXP_HANDLE, Size: 13, Number: 39179
> 2010-05-11 12:21:56.906 Type: SSH_FXP_READDIR, Size: 13, Number: 39436
< 2010-05-11 12:21:56.937 Type: SSH_FXP_NAME, Size: 561, Number: 39436
> 2010-05-11 12:21:56.937 Type: SSH_FXP_READDIR, Size: 13, Number: 39692
< 2010-05-11 12:21:56.984 Type: SSH_FXP_STATUS, Size: 28, Number: 39692
< 2010-05-11 12:21:56.984 Status code: 1
> 2010-05-11 12:21:56.984 Type: SSH_FXP_CLOSE, Size: 13, Number: 39940
. 2010-05-11 12:21:56.984 Startup conversation with host finished.
. 2010-05-11 12:22:00.390 Deleting file "logo.jpg.filepart".
> 2010-05-11 12:22:00.390 Type: SSH_FXP_REMOVE, Size: 62, Number: 40205
< 2010-05-11 12:22:00.390 Type: SSH_FXP_STATUS, Size: 24, Number: 39940
. 2010-05-11 12:22:00.390 Discarding reserved response
< 2010-05-11 12:22:00.437 Type: SSH_FXP_STATUS, Size: 24, Number: 40205
< 2010-05-11 12:22:00.437 Status code: 0
. 2010-05-11 12:22:00.437 Listing directory "/var/www/domain/puretea/images".
> 2010-05-11 12:22:00.437 Type: SSH_FXP_OPENDIR, Size: 44, Number: 40459
< 2010-05-11 12:22:00.468 Type: SSH_FXP_HANDLE, Size: 13, Number: 40459
> 2010-05-11 12:22:00.468 Type: SSH_FXP_READDIR, Size: 13, Number: 40716
< 2010-05-11 12:22:00.515 Type: SSH_FXP_NAME, Size: 431, Number: 40716
> 2010-05-11 12:22:00.515 Type: SSH_FXP_READDIR, Size: 13, Number: 40972
< 2010-05-11 12:22:00.562 Type: SSH_FXP_STATUS, Size: 28, Number: 40972
< 2010-05-11 12:22:00.562 Status code: 1
> 2010-05-11 12:22:00.562 Type: SSH_FXP_CLOSE, Size: 13, Number: 41220


I do not know what is the reason of this problem (winscp, server config) Question
Guest




continuation of the previous post.

OS: Windows XP pro. SP 2
Protocol: SFTP, SCP (with scp the file is just empty)
GUI: Yes
Server: OpenSSH_5.1
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Check log file of the server if you find out anything useful.
_________________
Martin Prikryl
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