Display messages in proftpd
Kurt Wall
kwall
Mon May 17 12:00:59 PDT 2004
In a 1.3K blaze of typing glory, Zoki wrote:
> Le 29/03/2004 18:10, ??Rick Sivernell?? <res005ru at verizon.net> a ?crit?:
>
> > On Mon, 29 Mar 2004 21:58:34 +0800
> > "M.W. Chang" <mwchang at i-cable.com> wrote:
> >
> >>> I relocated the proftpd port from 21 to 5052, expecting ftp-data at port
> >>> 5051. I could login, but doing a `ls` would give no directory listing.
> >>
> >> hmm.. could someone tell me what you saw when you
> >>
> >> ftp toylet.homeip.net 5052 (active and passive mode)
> >>
> >> can you upload file to the directory?
>
>
> *** I'm a bit like dep and his xfce problem. It's probably so obvious it'll
> byte me in my nose but I can't seem to understand why I don't get the custom
> messages when I login to the ftp server.
>
> It's running proftpd 1.28, I have DeferWelcome off and ServerIdent off, I
> use the DisplayConnect, DisplayQuit & DisplayLogin directives in the Global
> section but I can't seem to get the customized 220 and 230 messages.
For those of you just joining us, a 220 message is issued when the
FTP service is ready for a new user and a 230 mesage is issued when
the user logs in and can proceed (RFC 959)
I have this in proftpd.conf:
DisplayLogin welcome.msg
DisplayFirstChdir .message
Root directory is /home/ftp/pub; I have .message files in each
directory except /home/ftp; I have welcome.msg in /home/ftp.
It seems to work here, so I suspect an issue with your file locations.
Of course, if you run ProFTPd form inetd or xinetd, you need to HUP
{x}inetd after changing the configuration.
# ftp localhost
Connected to localhost.
220 ProFTPD 1.2.8 Server (KurtWerks FTP Server) [marta.kurtwerks.com]
Name (localhost:root): ftp
331 Anonymous login ok, send your complete email address as your password.
Password:
230-
************************************************************************
* K U R T W E R K S F T P S E R V E R *
************************************************************************
230 Anonymous access granted, restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd /pub/dict
250-
Welcome to dict.kurtwerks.com, KurtWerks' mirror of
ftp.dict.org. This is a (hopefully) complete archive of
the dict.org FTP site. If you have problems with *this*
site (can't download files, discover missing or corrupted
files), please send email to dict at kurtwerks.com. It
will help if you put "DICT" or "dict" somewhere in the
subject line.
250 CWD command successful.
>
> The configuration is simillar to the basic proftpd.conf - one base server
> and 2 anonymous directories. Everything else works. The text files are in
> seperate directory within the chroot env.
>
> Any ideas?
>
> --
> Cheers,
> Zoran.
>
> _______________________________________________
> Linux-users mailing list
> Linux-users at smtp.linux-sxs.org
> Unsubscribe/Suspend/Etc -> http://smtp.linux-sxs.org/mailman/listinfo/linux-users
--
Only adults have difficulty with childproof caps.
More information about the Linux-users
mailing list