Share via


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

Note

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

Specifies the content settings for directory browsing on an FTP site.

Syntax

Attributes and Elements

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

Attributes

Attribute

Description

showFlags

Optional flags attribute.

Specifies the options for directory listings.

ValueDescription
LongDateSpecifies whether to show long dates or short dates. The numeric value is 2.
StyleUnixSpecifies whether to display UNIX-style directory listings; otherwise, displays MSDOS-style listings. The numeric value is 4.
DisplayAvailableBytesSpecifies whether to display the available bytes in directory listings. The numeric value is 16.
DisplayVirtualDirectoriesSpecifies whether to display virtual directories if set; otherwise, virtual directories are hidden. The numeric value is 32.
UseGmtTimeSpecifies whether to display dates and times in GMT. The numeric value is 64.

There is no default value.

virtualDirectoryTimeout

Optional int attribute.

Specifies the maximum amount of time the FTP service will use to retrieve the timestamp information for virtual directories. If threshold is reached, or virtualDirectoryTimeout is set to 0, then the current date will be used instead.

The default value is 5.

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 FTP server settings.

Remarks

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

Element Information

Configuration locations

ApplicationHost.config

Requirements

IIS 7

See Also

Reference

ftpServer Element for site for sites [IIS Settings Schema]