Topic "Cannot create remote directory using sync browsing"

Author Message
peterbay
[View user's profile]

Joined: 2010-08-27
Posts: 3
Location: Dublin
I have this probelm below. It only appears sometimes and other times it works perfectly.

When I have sync browsing on and I click into a folder on the left panel that does not appear on the right WinSCP gives me this message

Code:
Cannot open corresponding directory in the opposite panel.

Do you want to try to create directory '/home/content/newfolder'?

Error changing directory to '/home/content/newfolder'.
Error listing directory '/home/content/newfolder'.
No such file or directory.
Error code: 2
Error message from server: No such file
Request code: 11


It gives me the options Yes, No, Help

After clicking Yes I get the following message

Code:
Error creating folder 'home/content/newfolder'.

No such file or directory.
Error code: 2
Error message from server: No such file
Request code: 14


After I click ok I get imformed that Directory Browsing failed and it has been turned off.

I am using WinSCP version 4.2.8 (Build 818).

This happens about 50% of the time.

Any ideas what could be wrong or at least where I could maybe see logs or something which may help me solve the problem.

Thanks

Pete
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Please post a full log file showing the problem.

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. For posting extensive logs you may use pastebin or similar application. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.
_________________
Martin Prikryl
peterbay
[View user's profile]

Joined: 2010-08-27
Posts: 3
Location: Dublin
Hi,

Sorry for the delay in replying

Here is the log of the event.

Code:
Cached directory change via "/home/content/www/mysite/new-folder" to "/home/content/www/mysite/new-folder".
Getting current directory name.
Listing directory "/home/content/www/mysite/new-folder".
Type: SSH_FXP_OPENDIR, Size: 68, Number: 94731
Type: SSH_FXP_STATUS, Size: 29, Number: 94731
Status code: 2, Message: 94731, Server: No such file, Language: 
Creating directory "/home/content/www/mysite/new-folder/new-folder".
Canonifying: "/home/content/www/mysite/new-folder/new-folder"
Getting real path for '/home/content/www/mysite/new-folder/new-folder'
Type: SSH_FXP_REALPATH, Size: 93, Number: 95248
Type: SSH_FXP_STATUS, Size: 29, Number: 95248
Status code: 2, Message: 95248, Server: No such file, Language: 
Getting real path for '/home/content/www/mysite/new-folder/'
Type: SSH_FXP_REALPATH, Size: 69, Number: 95504
Type: SSH_FXP_STATUS, Size: 29, Number: 95504
Status code: 2, Message: 95504, Server: No such file, Language: 
Canonified: "/home/content/www/mysite/new-folder/new-folder"
Type: SSH_FXP_MKDIR, Size: 97, Number: 94990
Type: SSH_FXP_STATUS, Size: 29, Number: 94990
Status code: 2, Message: 94990, Server: No such file, Language: 
(ECommand) Error creating folder '/home/content/www/mysite/new-folder/new-folder'.
No such file or directory.
Error code: 2
Error message from server: No such file
Request code: 14


This is all during synchronised browsing.
When I am opening the folder 'new-folder' it asks me do I want to create it on the opposite panel and then it tries to create it in a folder (same name) which does not exist.

Hence I get error (in the form of a windows alert).
Quote:
---------------------------
Error
---------------------------
Error creating folder '/home/content/www/mysite/new-folder/new-folder'.
---------------------------
No such file or directory.
Error code: 2
Error message from server: No such file
Request code: 14
---------------------------
OK Help
---------------------------


Thanks very much
peterbay
[View user's profile]

Joined: 2010-08-27
Posts: 3
Location: Dublin
Any idea on this?

Thanks

Peter
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
I believe I've sent ou and email. If you haven't received it, can you send me an email yourself, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
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