In message <_A4319@delegate-en.ML_> on 12/31/08(12:46:42)
you "WONG, Wai Bun Ada" <email@example.com> 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 -P188.8.131.52,184.108.40.206:990 SERVER=ftps RELIABLE="*" LOGFILE=/var/log/delegate/server.log PROTOLOG='' MOUNT="/* sftp://myunix/*" ADMIN=root <mailto:ADMINfirstname.lastname@example.org> @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 -a
You should see log output like follows:
12/31 14:33:37.72  1+0/7/4: #### LIST^M
12/31 14:33:37.72  1+0/7/5: MOUNTED REMOTE  -> [sftp://localhost/]
12/31 14:33:42.24  1+0/9/6: #### LIST -a^M
12/31 14:33:42.24  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 <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