Topic "Can't exit from deleted directory"

Author Message


Steps to reproduce (tested this only on ssh connection):
1. Create some directory on server and enter it in WinSCP, for example

2. Remove that directory on server by some other method (I use Kitty, a fork of Putty)
3. Now in WinSCP try going to parent directory, you will receive an error
Cannot get real path for '/abc/..'.
No such file or directory.
Error code: 2
Error message from server: No such file

It's probably related to my other bug report, I suspect that going to parent directory forces WinSCP to refresh current directory (which is a really stupid thing to do...)
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27106
Location: Prague, Czechia
Thanks for your report.
Well, WinSCP does what the SFTP standard mandates it should do. And it has this unfortunate side effect.
We will consider implementing some kind of a fallback.
WinSCP definitely does not refresh the current directory, when going to the parent folder.

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License