LOGINMSG (FTP server) statement

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

Read syntax diagramSkip visual syntax diagram
>>-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

Related topics