Page 1 of 1

FTP client folder problem

Posted: 19 Mar 2007, 11:12
by qabi
Hello,

First: I'm working on an FTP server, so the actual problem might be in that. But there doesn't seem to be a similar problem in other ftp clients.

When I connect I see all folders correctly. I can enter one of the folders, that works as well. But nothing happens when I try to "go up" from the folder (backspace, enter when ".." is selected, duble-click on "..").

This problem only occurs for my ftp server, and only for servant salamander. But I'm having trouble identifying the problem. I cannot see any important looking differences in the log outputs.

Any help appreciated,

-dennis


Log of an attempt:

Code: Select all

Connecting to "localhost" (127.0.0.1) on port 21.
Log UID is 1, time is 19-03-2007 - 11:10:43.

220 Service ready for new user.
USER root
331 User name okay, need password for root.
PASS (hidden)
230 User logged in, proceed.
(11:10:45): Logged in successfully, getting system information...
SYST
215 UNIX Type: Apache FTP Server
PWD
257 "/" is current directory.
(11:10:45): Changing path to "/"...
(11:10:45): Listing path "/"...
PORT 127,0,0,1,18,198
200 Command PORT okay.
TYPE A
200 Command TYPE okay.
LIST
150 File status okay; about to open data connection.
226 Closing data connection.
(11:10:45): Text listing was parsed by "UNIX1" server type...
(11:10:48): Changing path to "/CMD-8"...
CWD /CMD-8
250 Directory changed to CMD-8
PWD
257 "CMD-8" is current directory.
(11:10:48): Listing path "CMD-8"...
PORT 127,0,0,1,18,200
200 Command PORT okay.
LIST
150 File status okay; about to open data connection.
226 Closing data connection.
(11:10:48): Text listing was parsed by "UNIX1" server type...

Posted: 19 Mar 2007, 12:32
by Petr Solin
I think that PWD should return "/CMD-8" (instead of "CMD-8"). Let me know if it seems to be another problem.

Posted: 28 Feb 2009, 13:24
by yarda
You are right. I encounter this problem with several FTP servers so I guess this misconfiguration is quite common. It is very annoying because "go up" is possible only by clicking the path in the panel titlebar and clicking the ".." doesn't work. Other FTP clients (Filezilla, command line ftp, ...) take care about these cases so I think the workaround in the client should be implemented.