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/*
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
# ftp linux4
and then I try to use 'ls' the answer is:
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?
Von: email@example.com [mailto:firstname.lastname@example.org]
Gesendet: Dienstag, 8. Juli 2003 04:34
Betreff: Re: [DeleGate-En] DeleGate as Origin FTP
On 07/07/03(18:16) you Jani Radovan <email@example.com> wrote
| 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/*"
| 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:
Or making directory for your MOUNTed servers will be helpful for the
users of your FTP-DeleGate.
@ @ Yutaka Sato <firstname.lastname@example.org> http://www.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