Cannot create remote directory using sync browsing

Advertisement

peterbay
Joined:
Posts:
3
Location:
Dublin

Cannot create remote directory using sync browsing

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

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

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,802
Location:
Prague, Czechia

Re: Cannot create remote directory using sync browsing

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

Reply with quote

peterbay
Joined:
Posts:
3
Location:
Dublin

Hi,

Sorry for the delay in replying

Here is the log of the event.

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).
---------------------------
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

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,802
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.

Reply with quote

Advertisement

You can post new topics in this forum