Message file for all users (BANNER)

Use of the BANNER file is optional. If no BANNER file is specified, no message is displayed when starting a new connection. If a BANNER file is specified, up to 100 lines of the file are displayed to FTP clients starting a new connection.

Example:
A file is specified that contains the message:
HELLO WORLD; THIS IS MY BANNER MESSAGE!

When the client connects in, the following is displayed to the client:

D:\>ftp 9.42.103.112
Connected to 9.42.103.112.
220-FTPD1 IBM FTP CS V1R4 at MVS171.tcp.raleigh.ibm.com, 14:27:04 on 2002-10-29.

220-HELLO WORLD; THIS IS MY BANNER MESSAGE!
220 Connection will not timeout.
User (9.42.103.112:(none)):

To show a message to the client when starting a new connection, enter the name of the MVS data set or zFS file containing the message.

If it is an zFS file, it must adhere to the following syntax rules:

If it is an MVS data set, it must adhere to the following syntax rules:

The BANNER message may be used in conjunction with the LOGINMSG. The LOGINMSG is applicable only to named users. The LOGINMSG is shown to the client after the login is complete.

Example:
A BANNER file is specified that contains the message:
HELLO WORLD; THIS IS MY BANNER MESSAGE!

A LOGINMSG file is specified that contains the message:
HELLO NAMED USER; THIS IS MY LOGIN MESSAGE!

When the client connects and logs in, the following is displayed to the client:

D:\>ftp 9.42.103.112
Connected to 9.42.103.112.
220-FTPD1 IBM FTP CS V1R4 at MVS171.tcp.raleigh.ibm.com, 14:43:04 on 2002-10-29.

220-HELLO WORLD; THIS IS MY BANNER MESSAGE!
220 Connection will not timeout.
User (9.42.103.112:(none)): user1
331 Send password please.
Password:
230-HELLO NAMED USER; THIS IS MY LOGIN MESSAGE!
230 USER1 is logged on.  Working directory is "/u/user1".
ftp>