session Element for sessions for ftpServer for site for sites [IIS Settings Schema]

Note

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

A collection of elements which are dynamically created by the FTP service as clients connect to your FTP server. The data within these elements can be queried but not modified. Each session element contains a terminate method, which allows you to disconnect the client session.

Syntax

Attributes and Elements

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

Attributes

Attribute

Description

bytesReceived

int64 attribute.

Specifies the cumulative number of bytes that have been received for the session.

bytesSent

int64 attribute.

Specifies the cumulative number of bytes that have been sent for the session.

clientIp

int string attribute.

Specifies the client's IP address.

commandStartTime

int string attribute.

Specifies the time that the last command was started.

currentCommand

int string attribute.

Specifies the currently executing command.

lastErrorStatus

uint attribute.

Specifies the last FTP reply code.

previousCommand

int string attribute.

Specifies the previously executed command.

sessionId

int string attribute.

Specifies the unique identifier for the session.

sessionStartTime

int string attribute.

Specifies the time that the session was started.

userName

int string attribute.

Specifies the user name for the session, or Anonymous if the session is anonymous.

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

A collection of elements which are dynamically created by the FTP service as clients connect to your FTP server.

sessions

[Use the introduction sentence from this topic.]

Remarks

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

Default Configuration

None.

Element Information

Configuration locations

ApplicationHost.config

Requirements

IIS 7

See Also

Reference

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