Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

FryPpy

Thanx

Thank you. I have tested WINSP Far plugin on reinstalled system and all gone ok.
martin

Re: Error when uploading folders

It looks like a server-side bug. You may want to consider upgrading your server.
FryPpy

Error when uploading folders

I use WinSCP plugin for FAR manager (1.5.1) and have some trouble with it.
It can do all things except uploading folders (empty or full of files). BTW it can create empty folders and copy files fine.
When i try to copy some folder i get this error:
____
SFTP protocol violation: Invalid message number 68112 (expected
68368).
____
Some logs which can help to investigate this problem:
. 2006-08-25 12:03:21.972 --------------------------------------------------------------------------
. 2006-08-25 12:03:21.972 WinSCP Version 1.5.1 (Build 118) (OS 5.0.2195 Service Pack 4)
. 2006-08-25 12:03:21.972 Login time: 25 └туєёЄ 2006 у. 12:03:21
. 2006-08-25 12:03:21.972 --------------------------------------------------------------------------
. 2006-08-25 12:03:21.972 Session name: root@ntstar
. 2006-08-25 12:03:21.972 Host name: ntstar (Port: 22)
. 2006-08-25 12:03:21.972 User name: root (Password: Yes, Key file: No)
. 2006-08-25 12:03:21.972 Transfer Protocol: SFTP (SCP)
. 2006-08-25 12:03:21.972 SSH protocol version: 2; Compression: Yes
. 2006-08-25 12:03:21.972 Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2006-08-25 12:03:21.972 Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. 2006-08-25 12:03:21.972 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2006-08-25 12:03:21.972 SSH Bugs: -,-,-,-,-,-,-,-
. 2006-08-25 12:03:21.972 SFTP Bugs: -,-,-
. 2006-08-25 12:03:21.972 Proxy: none
. 2006-08-25 12:03:21.972 Return code variable: Autodetect; Lookup user groups: Yes
. 2006-08-25 12:03:21.972 Shell: default, EOL: 0
. 2006-08-25 12:03:21.972 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2006-08-25 12:03:21.972 Cache directory changes: Yes, Permanent: Yes
. 2006-08-25 12:03:21.972 Clear aliases: Yes, Unset nat.vars: No, Resolve symlinks: Yes
. 2006-08-25 12:03:21.972 Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. 2006-08-25 12:03:21.972 --------------------------------------------------------------------------
. 2006-08-25 12:03:21.972 Looking up host "ntstar"
. 2006-08-25 12:03:21.972 Connecting to 192.168.1.4 port 22
. 2006-08-25 12:03:21.982 Server version: SSH-2.0-2.0.13 (non-commercial)
. 2006-08-25 12:03:21.982 We believe remote version has SSH-2 HMAC bug
. 2006-08-25 12:03:21.982 We claim version: SSH-2.0-WinSCP_FAR_release_1.5.1
. 2006-08-25 12:03:21.982 Using SSH protocol version 2
. 2006-08-25 12:03:21.982 Using Diffie-Hellman with standard group "group1"
. 2006-08-25 12:03:21.982 Doing Diffie-Hellman key exchange
. 2006-08-25 12:03:22.282 Host key fingerprint is:
. 2006-08-25 12:03:22.282 ssh-dss 1024 9a:53:51:64:ed:e0:53:07:be:dc:e0:e2:3a:7d:f1:2c
. 2006-08-25 12:03:22.282 Initialised Blowfish client->server encryption
. 2006-08-25 12:03:22.282 Initialised HMAC-MD5 client->server MAC algorithm
. 2006-08-25 12:03:22.282 Initialised zlib (RFC1950) compression
. 2006-08-25 12:03:22.282 Initialised Blowfish server->client encryption
. 2006-08-25 12:03:22.282 Initialised HMAC-MD5 server->client MAC algorithm
. 2006-08-25 12:03:22.282 Initialised zlib (RFC1950) decompression
! 2006-08-25 12:03:22.302 Using username "root".
. 2006-08-25 12:03:22.302 Session password prompt (root@ntstar's password: )
. 2006-08-25 12:03:22.302 Using stored password.
! 2006-08-25 12:03:22.302 Authenticating with pre-entered password.
. 2006-08-25 12:03:22.302 Sent password
. 2006-08-25 12:03:22.312 Access granted
. 2006-08-25 12:03:22.312 Opened channel for session
. 2006-08-25 12:03:22.312 Started a shell/command
. 2006-08-25 12:03:22.312 --------------------------------------------------------------------------
. 2006-08-25 12:03:22.312 Using SFTP protocol.
. 2006-08-25 12:03:22.312 Doing startup conversation with host.
> 2006-08-25 12:03:22.322 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2006-08-25 12:03:22.342 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2006-08-25 12:03:22.342 SFTP version 0 negotiated.
. 2006-08-25 12:03:22.342 We believe the server has signed timestamps bug
. 2006-08-25 12:03:22.342 We will use UTF-8 strings for status messages only
. 2006-08-25 12:03:22.352 Getting current directory name.
. 2006-08-25 12:03:22.352 Getting real path for '.'
> 2006-08-25 12:03:22.352 Type: SSH_FXP_REALPATH, Size: 10, Number: 38160
< 2006-08-25 12:03:22.352 Type: SSH_FXP_NAME, Size: 31, Number: 38160
. 2006-08-25 12:03:22.352 Real path is '/root'
. 2006-08-25 12:03:22.352 Listing directory "/root".
> 2006-08-25 12:03:22.352 Type: SSH_FXP_OPENDIR, Size: 14, Number: 38411
< 2006-08-25 12:03:22.352 Type: SSH_FXP_HANDLE, Size: 17, Number: 38411
> 2006-08-25 12:03:22.352 Type: SSH_FXP_READDIR, Size: 17, Number: 38668
< 2006-08-25 12:03:22.362 Type: SSH_FXP_NAME, Size: 10928, Number: 38668
> 2006-08-25 12:03:22.362 Type: SSH_FXP_READDIR, Size: 17, Number: 38924
< 2006-08-25 12:03:22.372 Type: SSH_FXP_NAME, Size: 5992, Number: 38924
> 2006-08-25 12:03:22.372 Type: SSH_FXP_READDIR, Size: 17, Number: 39180
< 2006-08-25 12:03:22.372 Type: SSH_FXP_STATUS, Size: 9, Number: 39180
< 2006-08-25 12:03:22.372 Status/error code: 1
> 2006-08-25 12:03:22.372 Type: SSH_FXP_CLOSE, Size: 17, Number: 39428
. 2006-08-25 12:03:22.382 Startup conversation with host finished.
. 2006-08-25 12:03:28.361 Cached directory change via "Test" to "/root/Test".
. 2006-08-25 12:03:28.361 Getting current directory name.
. 2006-08-25 12:03:28.361 Listing directory "/root/Test".
> 2006-08-25 12:03:28.361 Type: SSH_FXP_OPENDIR, Size: 19, Number: 39691
< 2006-08-25 12:03:28.361 Type: SSH_FXP_STATUS, Size: 9, Number: 39428
. 2006-08-25 12:03:28.361 Discarding reserved response
< 2006-08-25 12:03:28.361 Type: SSH_FXP_HANDLE, Size: 17, Number: 39691
> 2006-08-25 12:03:28.361 Type: SSH_FXP_READDIR, Size: 17, Number: 39948
< 2006-08-25 12:03:28.361 Type: SSH_FXP_NAME, Size: 320, Number: 39948
> 2006-08-25 12:03:28.361 Type: SSH_FXP_READDIR, Size: 17, Number: 40204
< 2006-08-25 12:03:28.371 Type: SSH_FXP_STATUS, Size: 9, Number: 40204
< 2006-08-25 12:03:28.371 Status/error code: 1
> 2006-08-25 12:03:28.371 Type: SSH_FXP_CLOSE, Size: 17, Number: 40452
. 2006-08-25 12:03:33.759 Detected incoming data while idle
. 2006-08-25 12:03:38.996 Copying 1 files/directories to remote directory "/root/Test/"
. 2006-08-25 12:03:38.996   PrTime: Yes; PrRO: Yes; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 01; Resume: N (102400); CalcS: Yes; Mask: *.*
. 2006-08-25 12:03:38.996   TM: M; ClAr: No; ExclM(No):
. 2006-08-25 12:03:38.996   AscM: *.*html; *.htm; *.txt; *.php*; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2006-08-25 12:03:38.996 File: "E:\Distributives\Win\Far\34\PicView"
. 2006-08-25 12:03:38.996 Trying to open directory "/root/Test/PicView/".
> 2006-08-25 12:03:38.996 Type: SSH_FXP_LSTAT, Size: 28, Number: 40711
< 2006-08-25 12:03:38.996 Type: SSH_FXP_STATUS, Size: 9, Number: 40452
. 2006-08-25 12:03:38.996 Discarding reserved response
< 2006-08-25 12:03:38.996 Type: SSH_FXP_STATUS, Size: 9, Number: 40711
< 2006-08-25 12:03:38.996 Status/error code: 2, Message: 40711, Server: None, Language: 
. 2006-08-25 12:03:38.996 Creating directory "/root/Test/PicView/".
. 2006-08-25 12:03:38.996 Canonifying: "/root/Test/PicView/"
. 2006-08-25 12:03:38.996 Getting real path for '/root/Test/PicView/'
> 2006-08-25 12:03:38.996 Type: SSH_FXP_REALPATH, Size: 28, Number: 41232
< 2006-08-25 12:03:38.996 Type: SSH_FXP_STATUS, Size: 9, Number: 41232
< 2006-08-25 12:03:38.996 Status/error code: 2, Message: 41232, Server: None, Language: 
. 2006-08-25 12:03:38.996 Getting real path for '/root/Test/'
> 2006-08-25 12:03:38.996 Type: SSH_FXP_REALPATH, Size: 20, Number: 41488
< 2006-08-25 12:03:38.996 Type: SSH_FXP_NAME, Size: 57, Number: 41232
. 2006-08-25 12:03:38.996 Attempt to close connection due to fatal exception:
* 2006-08-25 12:03:38.996 SFTP protocol violation: Invalid message number 41232 (expected 41488).
. 2006-08-25 12:03:38.996 Closing connection.
. 2006-08-25 12:03:38.996 Connection was lost, asking what to do.
. 2006-08-25 12:03:38.996 Asking user:
. 2006-08-25 12:03:38.996 Error creating folder '/root/Test/PicView/'. ("SFTP protocol violation: Invalid message number 41232 (expected 41488).")
* 2006-08-25 12:03:40.979 (ESshFatal) Copying files to remote side failed.
* 2006-08-25 12:03:40.979 Error creating folder '/root/Test/PicView/'.
* 2006-08-25 12:03:40.979 SFTP protocol violation: Invalid message number 41232 (expected 41488).

What can i do to solve this problem?