Article delegate-en/4324 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A4320@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Cannot list upper level file/directory
05 Jan 2009 12:12:17 GMT "WONG, Wai Bun Ada" <p3iiabdyi-ktwgyoutbmlr.ml@ml.delegate.org>


Hi Yutaka,
 
I can change to upper level directory when I use the following "my new setting". 
For easy reference, below is my old and new setting.
 
My old setting (cannot change to upper level directory):
 
delegated -P202.32.1.1:21,202.32.1.2:990 SERVER=ftps RELIABLE="*" LOGFILE=/var/log/delegate/server.log PROTOLOG='' MOUNT="/* sftp://myunix/*" ADMIN=root@test <mailto:ADMIN=root@test>  CACHE=no REMITTABLE="*" STLS='-fcl,sslway -cert /etc/cert/myunix-ssl.crt -key /etc/cert/myunix.key' TLSCONF="shutdown" 
 
My new setting (can change to upper level directory):
 
delegated -P202.32.1.1:21,202.32.1.2:990 SERVER=ftp://myunix/ ADMIN=root@test <mailto:ADMIN=root@test>  CACHE=no REMITTABLE="*" STLS='-fcl,sslway -cert/etc/cert/myunix-ssl.crt -key /etc/cert/myunix.key' TLSCONF="shutdown"
 
For the new setting, although I can change to upper level directory, I still encounter some problems, would you pls help to give comments on the following questions.
 
1. When I use ftps to login the proxy delegate server, I find that the cert is not my specified one. It seems that the cert is from the source binary. (As the cert owner is " Yutaka Sato")
So how can I use my cert if I use "my new setting" ?

2. For my old setting, can I NOT specify the "mount" ? Because if I use "mount", I cannot change to upper level directory. Is it possible if I use "server=ftps" AND "NOT use mount"??

Thanks again.

________________________________

From: Yutaka Sato [mailto:feedback@delegate.org]
Sent: 2008/12/31 [ャPエチ、T] 13:40
To: feedback@delegate.org
Cc: WONG, Wai Bun Ada
Subject: Re: [DeleGate-En] Cannot list upper level file/directory



In message <_A4319@delegate-en.ML_> on 12/31/08(12:46:42)
you "WONG, Wai Bun Ada" <p3iiabdyi-ktwgyoutbmlr.ml@ml.delegate.org> 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,202.32.1.2:990 SERVER=ftps RELIABLE="*" LOGFILE=/var/log/delegate/server.log PROTOLOG='' MOUNT="/* sftp://myunix/*" ADMIN=root <mailto:ADMIN=root@ied.edu.hk> @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.

Cheers,
Yutaka
--
  9 9   Yutaka Sato <y.sato@delegate.org> 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





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