Article delegate-en/2330 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]

Newsgroups: mail-lists.delegate-en

[DeleGate-En] AW: [DeleGate-En] DeleGate as Origin FTP
08 Jul 2003 11:39:21 GMT Jani Radovan <>

Thanks for the help,

but I still have a problem with the 'ls' command. I use this :

[root#linux4]# delegated -P21 SERVER=ftp MOUNT="/* file:/* rw"
MOUNT="/ftp-relay/linux2/* ftp://linux2/* rw" MOUNT="/ftp-relay/linux1/*
ftp://linux1/* rw"

I also created the directories as mount points as you suggested:


so I can now  make "cd .." to upper level from root level of mounted ftp
server. BUt the 'ls' does not work from begging. As I connect to the proxy
like this:
# ftp linux4
and then I try to use 'ls' the answer is:
ftp> ls
227 Entering passive mode (127,0,0,1,5,46)
500 only USER, PAS, TYPE, QUITT and CWD are available

This I get always until I get to one of the mounted ftp servers ( in my case
'cd /ftp-relay/linux2' ), from that point can I use 'ls' and after getting
back to upper level ('cd ..'), I can also list these and every other
directory with 'ls'.
What am I making wrong, that it does not work from start?


-----Ursprüngliche Nachricht-----
Von: []
Gesendet: Dienstag, 8. Juli 2003 04:34
Betreff: Re: [DeleGate-En] DeleGate as Origin FTP

On 07/07/03(18:16) you Jani Radovan <> wrote
in <_A2327@delegate-en.ML_>
 |	I was trying to use DeleGate as OriginFTP, but I could not retrieve
 |the diectory content with 'ls' command. The response was "LIST not
 |supported" followed with list of supported commands. Is there any
 |possibility how to use 'ls' ?

Do you mean that you saw it after you moved to a directory which is
MOUNTed for a real server? 

 |	The second thing was, when I used DG as ftp proxy with mounted ftp
 |servers like this:
 |	delegated -P21 SERVER=ftp MOUNT="/linux2/ ftp://linux2/*"
 |MOUNT="/linux5/ ftp://linux5/*"
 |	I could use "cd linux2" (or "cd linux5"), but I could not get back
 |to "root" directory with "cd ..", and was always at the root of mounted
 |	Can you help me with this?

Your configuration does not include a MOUNT for "/" so the DeleGate
cannot move to there nor list its content.  To solve it add a MOUNT
parameter about "/" like:

  MOUNT="/* file:/tmp/*"

Or making directory for your MOUNTed servers will be helpful for the
users of your FTP-DeleGate.

  mkdir /tmp/dgftp
  mkdir /tmp/dgftp/linux2
  mkdir /tmp/dgftp/linux5

  MOUNT="/* file:/tmp/dgftp/*"

  @ @ 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]