Use of the ANONYMOUSLOGINMSG file is optional. If no ANONYMOUSLOGINMSG file is specified, no message is displayed after login completion. If an ANONYMOUSLOGINMSG file is specified, up to 100 lines of the file are displayed to the FTP client after login completion. The message is shown only to FTP clients when an anonymous user logs in.
Example:
An ANONYMOUSLOGINMSG file is specified that contains the message:
HELLO NAMED USER; THIS IS MY ANONYMOUSLOGIN MESSAGE!
When the anonymous user 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, 15:35:35 on 2002-10-29. 220 Connection will not timeout. User (9.42.103.112:(none)): anonymous 230-HELLO NAMED USER; THIS IS MY ANONYMOUSLOGIN MESSAGE! 230 'ANONYMOUS' logged on. Working directory is "/u/user3". ftp>
To show a message to anonymous users at login completion, enter the name of the MVS data set or HFS file containing the message.
If it is an HFS 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 ANONYMOUSLOGINMSG file may be used in conjunction with the BANNER file. The BANNER message is shown when a new connection is started, while the ANONYMOUSLOGINMSG message is shown after login completion.
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 ANONYMOUS USER; THIS IS MY ANONYMOUSLOGIN 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, 16:14:07 on 2002-10-29. 220-HELLO WORLD; THIS IS MY BANNER MESSAGE! 220 Connection will not timeout. User (9.42.103.112:(none)): anonymous 230-HELLO ANONYMOUS USER; THIS IS MY ANONYMOUSLOGIN MESSAGE! 230 'ANONYMOUS' logged on. Working directory is "/u/user3". ftp>