Share via


add Element for fileExtensions for system.ftpServer [IIS Settings Schema]

Note

For more information about the add element, see the following topic on the Microsoft IIS.net Web site: Adding FTP File Name Extensions <add>.

Specifies a unique file name extension to add to the collection of file name extensions for FTP 7.

Syntax

Attributes and Elements

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

Attributes

Attribute

Description

allowed

Required Boolean attribute.

Specifies whether the file name extension is allowed or denied. Setting this attribute to true allows the Web server to process requests associated with this type of file; setting this attribute to false prevents the Web server from processing requests.

The default value is true.

fileExtension

Required string attribute.

Specifies the name of the file name extension to allow or deny.

There is no default value.

Child Elements

None.

Parent Elements

Element

Description

configuration

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

system.ftpServer

Specifies the top-level section group (in ApplicationHost.config) in which this element is defined.

security

Specifies security settings for an FTP server.

requestFiltering

Specifies the root element for configuring Web process settings.

fileExtensions

Contains a collection of file name extensions that IIS will either allow or deny, depending on how the settings of each element are defined.

Remarks

For more information about the add element, see the following topic on the Microsoft IIS.net Web site: Adding FTP File Name Extensions <add>.

Element Information

Configuration locations

ApplicationHost.config

Requirements

IIS 7

See Also

Reference

fileExtensions Element for requestFiltering for security for system.ftpServer [IIS Settings Schema]