In message <_A4328@delegate-en.ML_> on 01/06/09(16:46:32)
you "WONG, Wai Bun Ada" <firstname.lastname@example.org> wrote:
|My ftp client is FileZilla (ver 3.1.6).
|The hidden file problem is solved as I find that I can view the hidden file when my client and server are in the same subnet.
|So I try to solve the problem of "cannot change to upper level directory"
|>From your reply, you says that "But you should be able to change to an upper directory with its absolute path as "/tmp". Would you pls tell me more about this?
I already wrote the answer, the reason why "upper directories" can not
(must not) be shown to clients:
In message <_A4320@delegate-en.ML_> on 12/31/08(14:40:37) I wrote:
|It is the behavior of DeleGate, to cope with gatewaying FTP to HTTP
|clients, to keep the mapping of MOUNT consistent, and also a little
|from a security consideration. But you should be able to change to
|an upper directory with its absolute path as "/tmp".
The path in a URL for FTP protocol (ftp://server/path) means the relative
path from the home direcotry of the current user. The MOUNT for such
directory must not be exploited to reveal upper directories of it.
You can relax the restriction by MOUNTing the root directory of the
target FTP (of sfpt) server. The root directory is expressed as "%2F"
which is the url-encoded expression of "/", as ftp://server/%2Ftmp/
for example. So you can specify your MOUNT as
By MOUNTing the root, the client will be at the root right after login.
Maybe an option should be to let it be at the home directory of a user.
9 9 Yutaka Sato <email@example.com> http://delegate.org/y.sato/
( ~ ) National Institute of Advanced Industrial Science and Technology
_< >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller