Use
the LOGINMSG statement to specify the file containing messages to
be displayed to FTP users when they have successfully logged in. This
statement affects only named FTP clients as opposed to FTP clients
logged in as anonymous.
Syntax
>>-LOGINMSG--file-path-----------------------------------------><
Parameters
- file-path
- The fully qualified z/OS® UNIX pathname or the fully qualified MVS™ data set name of the file whose
contents are displayed whenever a user logs in to FTP.
Requirements: - A z/OS UNIX pathname must start with a slash (/).
- An MVS data set must not
start with a slash character.
Examples
Use
the following statement if the FTP login message is kept in the file
/etc/ftp.login:
LOGINMSG /etc/ftp.login
; Welcome message for FTP users
Usage notes
- LOGINMSG does not apply to anonymous user logins. To provide this
function to anonymous users, use the ANONYMOUSLOGINMSG statement.
- When a known FTP user successfully logs in, the FTP server searches
for the file specified by file-path. The contents of the file are
returned to the FTP user as 230-prefixed replies. If the file specified
by file-path does not exist, no messages are returned to the FTP client
and no login messages are displayed to the end user.