Use the
BANNER statement to identify the welcome banner to be displayed immediately
after a client connects to the server.
Syntax
>>-BANNER--file-path-------------------------------------------><
Parameters
- file-path
- The file path is the z/OS® UNIX absolute pathname or the fully
qualified MVS™ data set name whose
contents are displayed whenever a user connects to FTP. A z/OS UNIX pathname
must begin with a slash (/) character. An MVS data
set must not begin with a slash character.
Examples
To
display the contents /etc/ftp.banner each time an FTP client connects
to the FTP server, enter the following code in the server's FTP.DATA:
BANNER /etc/ftp.banner ; banner to be displayed for FTP
Usage notes
- If no BANNER statement is specified, no banner is displayed immediately
after a new connection is established.
- One hundred lines of the file are displayed to the FTP client
as 220 replies. If the file exceeds 100 lines, a final 220 reply is
returned to the client indicating the banner was truncated.