Article delegate-en/3503 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]

Newsgroups: mail-lists.delegate-en

[DeleGate-En] Delegate ftp to sftp
22 Sep 2006 06:56:06 GMT "Mikko =?ISO-8859-1?Q?Sipil=E4?=" <pv4gqbdyi-n2ignz3vo65r.ml@ml.delegate.org>


Hello,

Delegate seems to be that what I have been looking for.
Unfortunately I found the following bug when trying to use Delegate as a 
gateway from ftp to sftp on Redhat Linux (32bit).

1. Command "ls" will output command also

ls
227 Entering Passive Mode (127,0,0,1,209,174).
150 Ok
ls -l ^M^Jdrwx------    0 503      503          4096 Jun 16 10:49 .
drwxr-xr-x    0 0        0            4096 Nov  7  2005 ..

2. Using command "cd" to with wrong path, gives OK-status

ftp> cd wrongpath
250 Ok

3. Command "pwd" print allways out path "/", even if the current path is 
something else:

ftp> cd tmp
250 Ok
ftp> pwd
257 "/"


Have you any ideas how to fix this?


Regards, Mikko Sipilš


srdev01:/usr/tmp$ ./linux-dg -P8021 SERVER=ftp DGROOT=/tmp ADMIN=mikko 
MOUNT="/* sftp://server/*" 

srdev01:/usr/tmp$ <DeleGate/9.2.4> [23042] -P8021 READY
Config: Linux/2.4.21-20.ELsmp; FileSize-Bits=32/64,32/32,32
DGROOT=/tmp
ADMIN=mikko
AIST-Product-ID: 2000-ETL-198715-01, H14PRO-049, H15PRO-165, H18PRO-443
Copyright (c) 1994-2000 Yutaka Sato and ETL,AIST,MITI
Copyright (c) 2001-2006 National Institute of Advanced Industrial Science 
and Te
chnology (AIST)

srdev01:/usr/tmp$ ftp localhost 8021
Connected to localhost.localdomain.
220- localhost PROXY-FTP server (DeleGate/9.2.4) ready.
220-   @ @
220-  ( - ) { DeleGate/9.2.4 (September 5, 2006) }
220- AIST-Product-ID: 2000-ETL-198715-01, H14PRO-049, H15PRO-165, 
H18PRO-443
220- Copyright (c) 1994-2000 Yutaka Sato and ETL,AIST,MITI
220- Copyright (c) 2001-2006 National Institute of Advanced Industrial 
Science a
nd Technology (AIST)
220- WWW: http://www.delegate.org/delegate/
220- --
220- You can connect to a SERVER by `user' command:
220-    ftp> user username@SERVER
220- or by `cd' command (after logged in as an anonymous user):
220-    ftp> cd //SERVER
220- Cache is enabled by default and can be disabled by `cd .' (toggle)
220- This (proxy) service is maintained by 'mikko'
220- 
220-extended FTP [MODE XDC][XDC/BASE64]
220 
500-AUTH GSSAPI
500 only USER,PASS,TYPE,QUIT and CWD are available.
500-AUTH KERBEROS_V4
500 only USER,PASS,TYPE,QUIT and CWD are available.
KERBEROS_V4 rejected as an authentication type
Name (localhost:mikko): mikko@server
331 Password required for mikko.
Password:
230-- PASS for mikko@server
 220 SFTP/FTP gateway ready.
 331 Send password or passphrase for 'mikko'
230- Ok
230--  @ @ 
230  \( - )/ -- { connected to `server' }
ftp> ls
227 Entering Passive Mode (127,0,0,1,209,174).
150 Ok
ls -l ^M^Jdrwx------    0 503      503          4096 Jun 16 10:49 .
drwxr-xr-x    0 0        0            4096 Nov  7  2005 ..
ftp> cd tmp
250 Ok
ftp> pwd
257 "/"




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