Share via


commandFiltering Element for security for ftpServer for site for sites [IIS Settings Schema]

Note

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

Specifies a collection of FTP commands that the FTP service will allow or deny.

Syntax

Attributes and Elements

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

Attributes

Attribute

Description

maxCommandLine

Optional uint attribute.

Specifies the maximum command line length. It includes the command and parameters. Lines longer than the configured limit will not be processed.

The default value is 4096.

allowUnlisted

Optional Boolean attribute.

Specifies whether to allow unlisted commands.

The default value is true.

Child Elements

Element

Description

add

Optional element.

Adds an entry to the collection of FTP commands.

remove

Optional element.

Removes an entry from the collection of FTP commands.

clear

Optional element.

Clears the collection of FTP commands.

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 for FTP sites.

security

Specifies the site-level security options for an FTP site.

Remarks

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

Element Information

Configuration locations

ApplicationHost.config

Requirements

IIS 7

See Also

Reference

add Element for commandFiltering for security for ftpServer for site for sites [IIS Settings Schema]