Article delegate-en <_A4320@delegate-en.ML_>
  upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[delegate-en/4320] [Reference:<_A4319@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Cannot list upper level file/directory
31 Dec 2008 05:40:39 GMT (Yutaka Sato)
The DeleGate Project

In message <_A4319@delegate-en.ML_> on 12/31/08(12:46:42)
you "WONG, Wai Bun Ada" <> wrote:
 |My unix sftp server is connected to proxy ftp delegate server. However, after I login my home directory, I cannot change directory to upper level.  

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

 |Below is my server setting.
 |Proxy ftp delegate server OS: suse linux 10
 |My unix sftp server OS: solaris 8

And what is your FTP client?
It is usual that a FTP client, at least in its default mode, does not
issue "-la" option, to get the list of hidden files, for the argument
in LIST or NLST FTP commands.

 |Setting in proxy ftp delegate server :
 |delegated -P202.32.1.1, SERVER=ftps RELIABLE="*" LOGFILE=/var/log/delegate/server.log PROTOLOG='' MOUNT="/* sftp://myunix/*" ADMIN=root <> @test CACHE=no REMITTABLE="*" STLS='-fcl,sslway -cert /etc/cert/myunix-ssl.crt -key /etc/cert/myunix.key' TLSCONF="shutdown" 

You should start with the simplest configuration without TLS, and with
the simplest FTP client (the ftp command).

  % delegated -P9999 -vv SERVER=ftp MOUNT="/* sftp://localhost/*"
  % ftp localhost 9999
  > ls
  > ls -a

You should see log output like follows:
  12/31 14:33:37.72 [18158] 1+0/7/4: #### LIST^M
  12/31 14:33:37.72 [18158] 1+0/7/5: MOUNTED REMOTE [] -> [sftp://localhost/][]
  12/31 14:33:42.24 [18158] 1+0/9/6: #### LIST -a^M
  12/31 14:33:42.24 [18158] 1+0/9/7: MOUNTED REMOTE [-a] -> [sftp://localhost/][-a]

If you get "." files with the ftp command as above, the problem is in the
configuration or the option of your FTP client program.

  9 9   Yutaka 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

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]