[This is preliminary documentation and subject to change]

# Setting FTP Messages and Directory Output Style

When you set up an FTP site, you can send informational messages that give users details about the site. These take the form of a greeting message that welcomes users to the FTP site when they first log on, and an exit message that users see when they log off. You can also designate a message that informs users that the maximum number of connections has been reached (FTP connections limits can be set on the FTP Site property sheet).

###### To set the FTP greeting, exit, or maximum connections message

1. In the IIS snap-in, select the FTP site you want to set messages for.
2. Right-click the site and select Properties.
3. Select the Messages property sheet.
4. Type the Welcome, Exit, or Maximum Connections messages into the appropriate text boxes.

You can also set the directory output style of your FTP site. The directory output style defines the format that is used when an FTP client sends a LIST operation; the directory output style can be either MS-DOS or UNIX. The default directory output style is MS-DOS.

The MS-DOS directory listing style displays year dates in a two-digit format by default. You can change this setting to display year dates in a four-digit format by enabling the FtpDirBrowseShowLongDate metabase property.

The UNIX directory listing style displays year dates in a four-digit format when the date of the file is different from the year of the FTP server. No year date is returned in cases where the file date is the same as the year date of the FTP server.

###### To set the directory output style of your FTP site

1. In the IIS snap-in, select the FTP site you want to set the directory output style for.
2. Right-click the site, and select Properties.
3. Select the Home Directory property sheet.
4. Under Directory Listing Style, select either UNIX or MS-DOS.

© 1997-2001 Microsoft Corporation. All rights reserved.