Share via


messages Element for ftpServer for site for sites [IIS Settings Schema]

Note

For more information about the messages element, see the following topic on the Microsoft IIS.net Web site: FTP Messages <messages>.

Specify the message that the FTP service will display to FTP clients.

Syntax

Attributes and Elements

The following sections describe attributes, child elements, and parent elements for this section.

Attributes

Attribute

Description

allowLocalDetailedErrors

Optional Boolean attribute.

true if detailed error messages should be displayed locally; otherwise, false.

Note

Detailed error messages cannot be displayed remotely.

The default value is true.

bannerMessage

Optional string attribute.

Specifies the message that is displayed when a client connects to the FTP server.

There is no default value.

exitMessage

Optional string attribute.

Specifies the message that is displayed when a client is closing a connection to the FTP server.

There is no default value.

expandVariables

Optional Boolean attribute.

true if user variables should be expanded; otherwise, false.

The default value is false.

greetingMessage

Optional string attribute.

Specifies the message that is displayed after a client has logged in to the FTP server.

There is no default value.

maxClientsMessage

Optional string attribute.

Specifies the message that is displayed when a client tries to log in and the maximum number of clients has already been reached on the FTP server.

There is no default value.

suppressDefaultBanner

Optional Boolean attribute.

true if the FTP service should suppress the default "Microsoft FTP Service" banner; otherwise, false.

The default value is false.

Child Elements

None.

Parent Elements

Element

Description

configuration

Specifies the root element in every configuration file that is used by IIS 7.

system.applicationHost

Specifies the root element for configuring Web process settings.

sites

Defines all sites on the server, and all applications and virtual directories in those sites.

site

Specifies configuration settings for a site.

ftpServer

Specifies the site-level settings for FTP features on FTP sites.

Remarks

For more information about the messages element, see the following topic on the Microsoft IIS.net Web site: FTP Messages <messages>.

Element Information

Configuration locations

ApplicationHost.config

Requirements

IIS 7

See Also

Reference

ftpServer Element for site for sites [IIS Settings Schema]