Article delegate-en/4475 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:<_A4473@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Delegate: how to customize login banner?
28 May 2009 09:22:49 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


Hi,

In message <_A4473@delegate-en.ML_> on 05/28/09(16:37:44)
you "Andrea `Zuse' Balestrero - YouUs HelpDesk Sorgenia" <ppeiqbdyi-hhkpuksjzulr.ml@ml.delegate.org> wrote:
 |When I start a connection with my FTP(S) client, Delegate
 |shows me the following banner:
 |
 |####################################################################
 |220- localhost PROXY-FTP server (DeleGate/9.9.2) ready.
 |220-   @ @
 |220-  ( - ) { DeleGate/9.9.2 (March 15, 2009) }
...
 |####################################################################
 |
 |I need to customize such banner, to add several messages for
 |connecting users.
 |
 |Is it possibile?
 |Is there a switch/option to tell Delegate where to read
 |my customized banner text?

The template of the banner is at src/builtin/mssgs/file/ftp-banner.dhtml
as this:
####################################################################
${host.clif} PROXY-FTP server (DeleGate/${ver}) ready.
  @ @
 ( - ) { ${verdate} }
${copyright}
WWW: ${homepage}
--
You can connect to a SERVER by `user' command:
   ftp> user username@SERVER
or by `cd' command (after logged in as an anonymous user):
   ftp> cd //SERVER
Cache is enabled by default and can be disabled by `cd .' (toggle)
This (proxy) service is maintained by '${ADMIN}'
${include.silent:ftp-banner-postfix.dhtml}\
####################################################################

It can be overwritten with a MOUNT option like this (supposing a
customized template file is at DGROOT/etc/xxx.dhtml):

  MOUNT="/-/builtin/mssgs/file/ftp-banner.dhtml file:etc/xxx.dhtml"

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