David Green wrote:
I would like to disable the banner in OS X FTP Server so
the custom banner is shown, but the type of server is not shown.
220--------------------------------------------------------------------------------
220- Welcome to my FTP server!
220- All User Activity Is Logged
220--------------------------------------------------------------------------------
220-
220 myftp FTP server (Version: Mac OS X Server 10.3.9 003 - +GSSAPI)
ready.
The line I do not want shown is the last line. I have looked in the
/Library/FTPServer/Messages directory to see how to disable it, but I
haven't been too successful yet.
Edit the file:
/Library/FTPServer/Configuration/ftpaccess
and change the line that reads:
greeting full
to
greeting brief
or
greeting terse
Stop and start the service and give it a go! (tested on a 10.4.x
server)
If you're on a 10.3.x server, and the line doesn't exist, put it
in. It's in the man pages
For some reason "full" is the default on 10.3.x. "Brief" is the
default on 10.4.x.
Vic