Opened 19 years ago
Last modified 19 years ago
#970 closed Bug report
command "CWD ~" failed (+ possible solution)
Reported by: | imp__ | Owned by: | |
---|---|---|---|
Priority: | low | Component: | FileZilla Server |
Keywords: | Cc: | imp__, Tim Kosse | |
Component version: | Operating system type: | ||
Operating system version: |
Description
The Opera Internet Browser before changing dir always
send "CWD ~" first. And expect after that is current dir
changed to home dir ("/").
But FileZilla said:
"550 CWD failed. '/<current dir>/~': directory not found.
"
I think in file 'Permission.cpp' in begining of function
'CStdString CPermissions::CanonifyServerDir(CStdString
currentDir, CStdString newDir) const'
should be added next code:
------------------------------
if (newDir == "~")
{
newDir = "/";
return newDir;
};
-----------------------------
Note:
See TracTickets
for help on using tickets.
Won't change. ~ is a valid name for a (sub)directory under
Windows. Opera has to be fixed if it thinks the directory
did change even though 550 was the reply code.