Technical data

Configuring and Managing FTP
15.1 Managing FTP
220 opening data connection for USER8$:[HIDEME.PROJECT.TASK]PLAN.PS
220 opening data connection for SYS$LOGIN:[PROJECT.TASK]PLAN.PS
15.1.2.2 Setting Up Anonymous FTP
Complete the following steps to set up anonymous FTP access on your system:
1. Use the TCPIP$CONFIG procedure to create an account named
ANONYMOUS with the password GUEST.
To create the ANONYMOUS user account, select Optional Components from
the main menu, then select Setup Anonymous FTP Account and Directories.
2. Set account access restrictions NOLOCAL, NOBATCH, NOREMOTE, and
NODIALUP.
3. Create a welcome banner.
When a user logs in, FTP displays a welcome that you can specify by entering
the text into a text file and defining the TCPIP$FTP_SERVER_ANNOUNCE
logical to point to the text file. Make sure the protection on the file is world
readable (W:R). For example:
$ DEFINE/SYSTEM/EXEC TCPIP$FTP_SERVER_ANNOUNCE -
_$ "@SYS$SYSDEVICE:[TCPIP$FTP]ANNOUNCE.TXT"
When an anonymous user logs in, FTP informs the user of the account’s
restrictions. Enter the text you want to display into a text file. Then define
the TCPIP$FTP_ANONYMOUS_WELCOME logical name to point to the text
file. Make sure the text file protection is world readable (W:R). For example:
$ DEFINE/SYSTEM/EXEC TCPIP$FTP_ANONYMOUS_WELCOME -
_$ "@SYS$SYSDEVICE:[TCPIP$FTP]WELCOME.TXT"
4. Specify a location for the log files generated by FTP sessions.
Use the TCPIP$FTP_ANONYMOUS_LOG logical name. If you do
not define TCPIP$FTP_ANONYMOUS_LOG, FTP puts the files in
SYS$SYSDEVICE:[TCPIP$FTP]TCPIP$FTP_ANONYMOUS.LOG.
5. Specify a user name for the anonymous FTP account. Define the logical name
TCPIP$FTP_ANONYMOUS_ALIAS. See Table 15–1 for more information.
15.1.3 Managing FTP with Logical Names
Table 15–1 lists the logical names that you can use to manage the FTP server.
Configuring and Managing FTP 15–3