Topic "Error when create or copy directory"

Author Message
shoroh
[View user's profile]

Joined: 2006-05-04
Posts: 2
Hi all!

I use WinSCP 3.7.6 for connet to
sftp server.
When I try to create or copy directory to remote server, I received error message:
Code:

Cannot change properties of the file 'New dir'
No such file or directory
Error code: 2
Error message from server: No such file
Request code: 9

If i try to click on Retry button in error dialog I received error message:
Code:

SFTP protocol violation: Invalid message number 44816 (expected 45072)

And WinSCP want reconnect to server. After I reconnect to server I found new directory on it. But if I copy directory to server this directory on server not contain any files.
Why it happen?
Thanks!
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Please post a log file.
_________________
Martin Prikryl
shoroh
[View user's profile]

Joined: 2006-05-04
Posts: 2
log:

2006-05-04 16:30:46.304 Looking up host "192.168.11.136"
. 2006-05-04 16:30:46.304 Connecting to 192.168.11.136 port 22
. 2006-05-04 16:30:46.304 Server version: SSH-2.0-CoreFTP-0.1.1
. 2006-05-04 16:30:46.319 We claim version: SSH-2.0-WinSCP_release_3.7.6
. 2006-05-04 16:30:46.319 Using SSH protocol version 2
. 2006-05-04 16:30:46.335 Using Diffie-Hellman with standard group "group1"
. 2006-05-04 16:30:46.335 Doing Diffie-Hellman key exchange
. 2006-05-04 16:30:46.444 Host key fingerprint is:
. 2006-05-04 16:30:46.460 ssh-rsa 1024 f3:52:a2:03:f0:d8:3f:ad:b0:6c:82:f1:dc:f4:7b:49
. 2006-05-04 16:30:46.460 Initialised AES-256 client->server encryption
. 2006-05-04 16:30:46.476 Initialised HMAC-SHA1 client->server MAC algorithm
. 2006-05-04 16:30:46.476 Initialised AES-256 server->client encryption
. 2006-05-04 16:30:46.476 Initialised HMAC-SHA1 server->client MAC algorithm
! 2006-05-04 16:30:46.491 Using username "admin".
. 2006-05-04 16:30:46.491 Session password prompt (admin@192.168.11.136's password: )
. 2006-05-04 16:30:46.507 Using stored password.
. 2006-05-04 16:30:46.523 Sent password
. 2006-05-04 16:30:46.523 Access granted
. 2006-05-04 16:30:46.538 Opened channel for session
. 2006-05-04 16:30:46.538 Started a shell/command
. 2006-05-04 16:30:46.554 --------------------------------------------------------------------------
. 2006-05-04 16:30:46.554 Using SFTP protocol.
. 2006-05-04 16:30:46.569 Doing startup conversation with host.
> 2006-05-04 16:30:46.585 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2006-05-04 16:30:46.585 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2006-05-04 16:30:46.601 SFTP version 3 negotiated.
. 2006-05-04 16:30:46.601 We believe the server has signed timestamps bug
. 2006-05-04 16:30:46.616 We will use UTF-8 strings for status messages only
. 2006-05-04 16:30:46.632 Getting current directory name.
. 2006-05-04 16:30:46.632 Getting real path for '.'
> 2006-05-04 16:30:46.648 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2006-05-04 16:30:46.663 Type: SSH_FXP_NAME, Size: 23, Number: 16
. 2006-05-04 16:30:46.663 Real path is '/'
. 2006-05-04 16:30:46.679 Listing directory "/".
> 2006-05-04 16:30:46.694 Type: SSH_FXP_OPENDIR, Size: 10, Number: 267
< 2006-05-04 16:30:46.694 Type: SSH_FXP_HANDLE, Size: 22, Number: 267
> 2006-05-04 16:30:46.710 Type: SSH_FXP_READDIR, Size: 22, Number: 524
< 2006-05-04 16:30:46.726 Type: SSH_FXP_NAME, Size: 317, Number: 524
> 2006-05-04 16:30:46.741 Type: SSH_FXP_READDIR, Size: 22, Number: 780
< 2006-05-04 16:30:46.757 Type: SSH_FXP_STATUS, Size: 28, Number: 780
< 2006-05-04 16:30:46.773 Status/error code: 1
> 2006-05-04 16:30:46.773 Type: SSH_FXP_CLOSE, Size: 22, Number: 1028
. 2006-05-04 16:30:46.788 Startup conversation with host finished.
. 2006-05-04 16:30:47.413 Detected incoming data while idle
. 2006-05-04 16:31:00.804 Creating directory "1".
. 2006-05-04 16:31:00.820 Canonifying: "1"
. 2006-05-04 16:31:00.836 Getting real path for '/1'
> 2006-05-04 16:31:00.851 Type: SSH_FXP_REALPATH, Size: 11, Number: 1552
< 2006-05-04 16:31:00.867 Type: SSH_FXP_STATUS, Size: 24, Number: 1028
. 2006-05-04 16:31:00.867 Discarding reserved response
< 2006-05-04 16:31:00.883 Type: SSH_FXP_STATUS, Size: 29, Number: 1552
< 2006-05-04 16:31:00.914 Status/error code: 2, Message: 1552, Server: No such file, Language:
. 2006-05-04 16:31:00.929 Getting real path for '/'
> 2006-05-04 16:31:00.945 Type: SSH_FXP_REALPATH, Size: 10, Number: 1808
< 2006-05-04 16:31:00.961 Type: SSH_FXP_NAME, Size: 23, Number: 1808
. 2006-05-04 16:31:00.976 Real path is '/'
. 2006-05-04 16:31:00.992 Canonified: "/1"
> 2006-05-04 16:31:01.008 Type: SSH_FXP_MKDIR, Size: 15, Number: 1294
< 2006-05-04 16:31:01.023 Type: SSH_FXP_STATUS, Size: 24, Number: 1294
< 2006-05-04 16:31:01.039 Status/error code: 0
> 2006-05-04 16:31:01.054 Type: SSH_FXP_SETSTAT, Size: 15, Number: 2057
< 2006-05-04 16:31:01.070 Type: SSH_FXP_STATUS, Size: 29, Number: 2057
< 2006-05-04 16:31:01.086 Status/error code: 2, Message: 2057, Server: No such file, Language:
. 2006-05-04 16:31:01.101 Asking user:
. 2006-05-04 16:31:01.101 Error creating folder '1'. ("Cannot change properties of file '1'.","No such file or directory.
. 2006-05-04 16:31:01.101 Error code: 2
. 2006-05-04 16:31:01.101 Error message from server: No such file
. 2006-05-04 16:31:01.101 Request code: 9")
. 2006-05-04 16:31:01.476 Detected incoming data while idle
. 2006-05-04 16:31:16.336 Canonifying: "1"
. 2006-05-04 16:31:16.352 Getting real path for '/1'
> 2006-05-04 16:31:16.367 Type: SSH_FXP_REALPATH, Size: 11, Number: 2576
< 2006-05-04 16:31:16.383 Type: SSH_FXP_STATUS, Size: 24, Number: 2057
< 2006-05-04 16:31:16.399 Status/error code: 0, Message: 2057, Server: Success, Language:
. 2006-05-04 16:31:16.414 Getting real path for '/'
> 2006-05-04 16:31:16.446 Type: SSH_FXP_REALPATH, Size: 10, Number: 2832
< 2006-05-04 16:31:16.461 Type: SSH_FXP_NAME, Size: 27, Number: 2576
. 2006-05-04 16:31:16.477 Attempt to close connection due to fatal exception:
. 2006-05-04 16:31:16.492 Detected incoming data while idle
* 2006-05-04 16:31:16.524 SFTP protocol violation: Invalid message number 2576 (expected 2832).
. 2006-05-04 16:31:16.539 Closing connection.

I don't received any error then I use Open Source SFTP client FileZilla
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
It seems like server-side bug. I'll install it and test it myself.

shoroh wrote:
I don't received any error then I use Open Source SFTP client FileZilla

Probably because filezilla does not set permissions for new directories. If you turn that option off in WinSCP you should not get the error too.
_________________
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