Topic "Error creating folder"

Author Message
elu

Guest


I'm creating the WinSCP script to synchronize folders and subfolders between a local and remote server.

I can synchronize files without problem. But when I add a new subfolders, I got an error on creating folder.

. 2006-05-31 10:16:56.318 Error creating folder '/situs/'. ("No such file or directory.
. 2006-05-31 10:16:56.318 Error code: 2
. 2006-05-31 10:16:56.318 Error message from server (en): The system cannot find the file specified.
. 2006-05-31 10:16:56.318 Request code: 14")

The server is running a VanDyke VShell v.2.6.

Any suggestion?

Eddie
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Please post or email me a full log file.
_________________
Martin Prikryl
Boogle

Guest


prikryl wrote:
Please post or email me a full log file.


I get the same error, got it in 3.8.0, so upgraded to 3.8.1, but still get it.

It does create the folder, but gets and error, and ends the session while trying to create the session.

Here is a log dump:

Code:
. 2006-06-18 18:37:25.437 Closing connection.
. 2006-06-18 18:37:29.140 --------------------------------------------------------------------------
. 2006-06-18 18:37:29.140 WinSCP Version 3.8.1 (Build 328) (OS 5.2.3790 Service Pack 1)
. 2006-06-18 18:37:29.140 Login time: Sunday, 18 June 2006 6:37:29 PM
. 2006-06-18 18:37:29.140 --------------------------------------------------------------------------
. 2006-06-18 18:37:29.140 Session name: nameRemoved@nameRemoved.com
. 2006-06-18 18:37:29.140 Host name: nameRemoved.com (Port: 22)
. 2006-06-18 18:37:29.140 User name: nameRemoved (Password: Yes, Key file: No)
. 2006-06-18 18:37:29.140 Transfer Protocol: SFTP (SCP)
. 2006-06-18 18:37:29.140 SSH protocol version: 2; Compression: No
. 2006-06-18 18:37:29.140 Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2006-06-18 18:37:29.140 Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. 2006-06-18 18:37:29.140 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2006-06-18 18:37:29.140 SSH Bugs: -,-,-,-,-,-,-,-
. 2006-06-18 18:37:29.140 SFTP Bugs: -,-,-
. 2006-06-18 18:37:29.140 Proxy: none
. 2006-06-18 18:37:29.140 Return code variable: Autodetect; Lookup user groups: Yes
. 2006-06-18 18:37:29.140 Shell: default, EOL: 0
. 2006-06-18 18:37:29.140 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2006-06-18 18:37:29.140 Cache directory changes: Yes, Permanent: Yes
. 2006-06-18 18:37:29.140 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2006-06-18 18:37:29.140 Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. 2006-06-18 18:37:29.140 --------------------------------------------------------------------------
. 2006-06-18 18:37:29.140 Looking up host "nameRemoved.com"
. 2006-06-18 18:37:33.640 Connecting to 202.79.210.174 port 22
. 2006-06-18 18:37:34.468 Server version: SSH-2.0-CoreFTP-0.0.1
. 2006-06-18 18:37:34.468 We claim version: SSH-2.0-WinSCP_release_3.8.1
. 2006-06-18 18:37:34.468 Using SSH protocol version 2
. 2006-06-18 18:37:34.656 Using Diffie-Hellman with standard group "group1"
. 2006-06-18 18:37:34.656 Doing Diffie-Hellman key exchange
. 2006-06-18 18:37:35.703 Host key fingerprint is:
. 2006-06-18 18:37:35.703 ssh-rsa 1024 d2:3a:7f:af:65:2b:a2:e5:df:df:75:ed:ac:78:86:f4
. 2006-06-18 18:37:35.703 Initialised AES-256 client->server encryption
. 2006-06-18 18:37:35.703 Initialised HMAC-SHA1 client->server MAC algorithm
. 2006-06-18 18:37:36.093 Initialised AES-256 server->client encryption
. 2006-06-18 18:37:36.093 Initialised HMAC-SHA1 server->client MAC algorithm
! 2006-06-18 18:37:36.390 Using username "nameRemoved".
. 2006-06-18 18:37:36.562 Session password prompt (nameRemoved@nameRemoved.com's password: )
. 2006-06-18 18:37:36.562 Using stored password.
! 2006-06-18 18:37:36.562 Authenticating with pre-entered password.
. 2006-06-18 18:37:36.562 Sent password
. 2006-06-18 18:37:37.000 Access granted
. 2006-06-18 18:37:37.484 Opened channel for session
. 2006-06-18 18:37:37.843 Started a shell/command
. 2006-06-18 18:37:37.843 --------------------------------------------------------------------------
. 2006-06-18 18:37:37.843 Using SFTP protocol.
. 2006-06-18 18:37:37.843 Doing startup conversation with host.
> 2006-06-18 18:37:37.843 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2006-06-18 18:37:38.546 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2006-06-18 18:37:38.546 SFTP version 3 negotiated.
. 2006-06-18 18:37:38.546 We believe the server has signed timestamps bug
. 2006-06-18 18:37:38.546 We will use UTF-8 strings for status messages only
. 2006-06-18 18:37:38.546 Getting current directory name.
. 2006-06-18 18:37:38.546 Getting real path for '.'
> 2006-06-18 18:37:38.546 Type: SSH_FXP_REALPATH, Size: 10, Number: 9488
< 2006-06-18 18:37:38.781 Type: SSH_FXP_NAME, Size: 23, Number: 9488
. 2006-06-18 18:37:38.781 Real path is '/'
. 2006-06-18 18:37:38.781 Listing directory "/".
> 2006-06-18 18:37:38.781 Type: SSH_FXP_OPENDIR, Size: 10, Number: 9739
< 2006-06-18 18:37:39.093 Type: SSH_FXP_HANDLE, Size: 22, Number: 9739
> 2006-06-18 18:37:39.093 Type: SSH_FXP_READDIR, Size: 22, Number: 9996
< 2006-06-18 18:37:39.484 Type: SSH_FXP_NAME, Size: 4938, Number: 9996
> 2006-06-18 18:37:39.500 Type: SSH_FXP_READDIR, Size: 22, Number: 10252
< 2006-06-18 18:37:39.796 Type: SSH_FXP_STATUS, Size: 28, Number: 10252
< 2006-06-18 18:37:39.796 Status/error code: 1
> 2006-06-18 18:37:39.796 Type: SSH_FXP_CLOSE, Size: 22, Number: 10500
. 2006-06-18 18:37:39.796 Startup conversation with host finished.
. 2006-06-18 18:37:40.218 Detected incoming data while idle
. 2006-06-18 18:37:50.609 Cached directory change via "EMStyles_new" to "/EMStyles_new/".
. 2006-06-18 18:37:50.609 Getting current directory name.
. 2006-06-18 18:37:50.609 Listing directory "/EMStyles_new".
> 2006-06-18 18:37:50.609 Type: SSH_FXP_OPENDIR, Size: 22, Number: 10763
< 2006-06-18 18:37:50.609 Type: SSH_FXP_STATUS, Size: 24, Number: 10500
. 2006-06-18 18:37:50.609 Discarding reserved response
< 2006-06-18 18:37:50.796 Type: SSH_FXP_HANDLE, Size: 22, Number: 10763
> 2006-06-18 18:37:50.796 Type: SSH_FXP_READDIR, Size: 22, Number: 11020
< 2006-06-18 18:37:51.000 Type: SSH_FXP_NAME, Size: 524, Number: 11020
> 2006-06-18 18:37:51.000 Type: SSH_FXP_READDIR, Size: 22, Number: 11276
< 2006-06-18 18:37:51.171 Type: SSH_FXP_STATUS, Size: 28, Number: 11276
< 2006-06-18 18:37:51.171 Status/error code: 1
> 2006-06-18 18:37:51.171 Type: SSH_FXP_CLOSE, Size: 22, Number: 11524
. 2006-06-18 18:37:51.718 Detected incoming data while idle
. 2006-06-18 18:38:04.671 Creating directory "testFolder".
. 2006-06-18 18:38:04.671 Canonifying: "testFolder"
. 2006-06-18 18:38:04.671 Getting real path for '/EMStyles_new/testFolder'
> 2006-06-18 18:38:04.671 Type: SSH_FXP_REALPATH, Size: 33, Number: 12048
< 2006-06-18 18:38:04.671 Type: SSH_FXP_STATUS, Size: 24, Number: 11524
. 2006-06-18 18:38:04.671 Discarding reserved response
< 2006-06-18 18:38:04.953 Type: SSH_FXP_STATUS, Size: 29, Number: 12048
< 2006-06-18 18:38:04.953 Status/error code: 2, Message: 12048, Server: No such file, Language: 
. 2006-06-18 18:38:04.953 Getting real path for '/EMStyles_new/'
> 2006-06-18 18:38:04.953 Type: SSH_FXP_REALPATH, Size: 23, Number: 12304
< 2006-06-18 18:38:05.187 Type: SSH_FXP_NAME, Size: 49, Number: 12304
. 2006-06-18 18:38:05.187 Real path is '/EMStyles_new/'
. 2006-06-18 18:38:05.187 Canonified: "/EMStyles_new/testFolder"
> 2006-06-18 18:38:05.187 Type: SSH_FXP_MKDIR, Size: 37, Number: 11790
< 2006-06-18 18:38:05.359 Type: SSH_FXP_STATUS, Size: 24, Number: 11790
< 2006-06-18 18:38:05.359 Status/error code: 0
> 2006-06-18 18:38:05.375 Type: SSH_FXP_SETSTAT, Size: 37, Number: 12553
< 2006-06-18 18:38:05.546 Type: SSH_FXP_STATUS, Size: 29, Number: 12553
< 2006-06-18 18:38:05.546 Status/error code: 2, Message: 12553, Server: No such file, Language: 
. 2006-06-18 18:38:05.546 Asking user:
. 2006-06-18 18:38:05.546 Error creating folder 'testFolder'. ("Cannot change properties of file 'testFolder'.","No such file or directory.
. 2006-06-18 18:38:05.546 Error code: 2
. 2006-06-18 18:38:05.546 Error message from server: No such file
. 2006-06-18 18:38:05.546 Request code: 9")
. 2006-06-18 18:38:06.218 Detected incoming data while idle
. 2006-06-18 18:38:10.125 Canonifying: "testFolder"
. 2006-06-18 18:38:10.125 Getting real path for '/EMStyles_new/testFolder'
> 2006-06-18 18:38:10.125 Type: SSH_FXP_REALPATH, Size: 33, Number: 13072
< 2006-06-18 18:38:10.125 Type: SSH_FXP_STATUS, Size: 24, Number: 12553
< 2006-06-18 18:38:10.125 Status/error code: 0, Message: 12553, Server: Success, Language: 
. 2006-06-18 18:38:10.125 Getting real path for '/EMStyles_new/'
> 2006-06-18 18:38:10.125 Type: SSH_FXP_REALPATH, Size: 23, Number: 13328
< 2006-06-18 18:38:10.312 Type: SSH_FXP_NAME, Size: 71, Number: 13072
. 2006-06-18 18:38:10.312 Attempt to close connection due to fatal exception:
* 2006-06-18 18:38:10.312 SFTP protocol violation: Invalid message number 13072 (expected 13328).
. 2006-06-18 18:38:10.312 Closing connection.
. 2006-06-18 18:38:23.109 --------------------------------------------------------------------------
. 2006-06-18 18:38:23.109 WinSCP Version 3.8.1 (Build 328) (OS 5.2.3790 Service Pack 1)
. 2006-06-18 18:38:23.109 Login time: Sunday, 18 June 2006 6:38:23 PM
. 2006-06-18 18:38:23.109 --------------------------------------------------------------------------
. 2006-06-18 18:38:23.109 Session name: nameRemoved@nameRemoved.com
. 2006-06-18 18:38:23.109 Host name: nameRemoved.com (Port: 22)
. 2006-06-18 18:38:23.125 User name: nameRemoved (Password: Yes, Key file: No)
. 2006-06-18 18:38:23.125 Transfer Protocol: SFTP (SCP)
. 2006-06-18 18:38:23.125 SSH protocol version: 2; Compression: No
. 2006-06-18 18:38:23.125 Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2006-06-18 18:38:23.125 Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. 2006-06-18 18:38:23.125 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2006-06-18 18:38:23.125 SSH Bugs: -,-,-,-,-,-,-,-
. 2006-06-18 18:38:23.125 SFTP Bugs: -,-,-
. 2006-06-18 18:38:23.125 Proxy: none
. 2006-06-18 18:38:23.125 Return code variable: Autodetect; Lookup user groups: Yes
. 2006-06-18 18:38:23.125 Shell: default, EOL: 0
. 2006-06-18 18:38:23.125 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2006-06-18 18:38:23.125 Cache directory changes: Yes, Permanent: Yes
. 2006-06-18 18:38:23.125 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2006-06-18 18:38:23.125 Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. 2006-06-18 18:38:23.125 --------------------------------------------------------------------------
. 2006-06-18 18:38:23.125 Looking up host "nameRemoved.com"
. 2006-06-18 18:38:27.625 Connecting to 202.79.210.174 port 22
. 2006-06-18 18:38:28.015 Server version: SSH-2.0-CoreFTP-0.0.1
. 2006-06-18 18:38:28.015 We claim version: SSH-2.0-WinSCP_release_3.8.1
. 2006-06-18 18:38:28.015 Using SSH protocol version 2
. 2006-06-18 18:38:28.234 Using Diffie-Hellman with standard group "group1"
. 2006-06-18 18:38:28.234 Doing Diffie-Hellman key exchange
. 2006-06-18 18:38:28.906 Host key fingerprint is:
. 2006-06-18 18:38:28.906 ssh-rsa 1024 d2:3a:7f:af:65:2b:a2:e5:df:6f:75:ed:ac:78:86:f4
. 2006-06-18 18:38:28.906 Initialised AES-256 client->server encryption
. 2006-06-18 18:38:28.906 Initialised HMAC-SHA1 client->server MAC algorithm
. 2006-06-18 18:38:29.125 Initialised AES-256 server->client encryption
. 2006-06-18 18:38:29.125 Initialised HMAC-SHA1 server->client MAC algorithm
! 2006-06-18 18:38:29.296 Using username "nameRemoved".
. 2006-06-18 18:38:29.468 Session password prompt (nameRemoved@nameRemoved.com's password: )
. 2006-06-18 18:38:29.468 Using stored password.
! 2006-06-18 18:38:29.468 Authenticating with pre-entered password.
. 2006-06-18 18:38:29.468 Sent password
. 2006-06-18 18:38:29.765 Access granted
. 2006-06-18 18:38:29.968 Opened channel for session
. 2006-06-18 18:38:30.140 Started a shell/command
. 2006-06-18 18:38:30.140 --------------------------------------------------------------------------
. 2006-06-18 18:38:30.140 Using SFTP protocol.
. 2006-06-18 18:38:30.140 Doing startup conversation with host.
> 2006-06-18 18:38:30.140 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2006-06-18 18:38:30.859 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2006-06-18 18:38:30.859 SFTP version 3 negotiated.
. 2006-06-18 18:38:30.859 We believe the server has signed timestamps bug
. 2006-06-18 18:38:30.859 We will use UTF-8 strings for status messages only
. 2006-06-18 18:38:30.859 Getting current directory name.
. 2006-06-18 18:38:30.859 Getting real path for '.'
> 2006-06-18 18:38:30.859 Type: SSH_FXP_REALPATH, Size: 10, Number: 13584
< 2006-06-18 18:38:31.031 Type: SSH_FXP_NAME, Size: 23, Number: 13584
. 2006-06-18 18:38:31.031 Real path is '/'
. 2006-06-18 18:38:31.031 Listing directory "/".
> 2006-06-18 18:38:31.031 Type: SSH_FXP_OPENDIR, Size: 10, Number: 13835
< 2006-06-18 18:38:31.203 Type: SSH_FXP_HANDLE, Size: 22, Number: 13835
> 2006-06-18 18:38:31.203 Type: SSH_FXP_READDIR, Size: 22, Number: 14092
< 2006-06-18 18:38:31.500 Type: SSH_FXP_NAME, Size: 4938, Number: 14092
> 2006-06-18 18:38:31.500 Type: SSH_FXP_READDIR, Size: 22, Number: 14348
< 2006-06-18 18:38:31.671 Type: SSH_FXP_STATUS, Size: 28, Number: 14348
< 2006-06-18 18:38:31.671 Status/error code: 1
> 2006-06-18 18:38:31.671 Type: SSH_FXP_CLOSE, Size: 22, Number: 14596
. 2006-06-18 18:38:31.671 Startup conversation with host finished.
. 2006-06-18 18:38:32.343 Detected incoming data while idle
. 2006-06-18 18:38:36.078 Closing connection.
Boogle

Guest


Boogle wrote:

It does create the folder, but gets and error, and ends the session while trying to create the session.


I meant: while trying to create the folder.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Boogle wrote:
It does create the folder, but gets and error, and ends the session while trying to create the folder.

This is known bug of CoreFTP server. See interoperability page.
_________________
Martin Prikryl
Guest




How do I do this when I am running from the command line?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Quote:
How do I do this when I am running from the command line?

Please read FAQ.
_________________
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