<!--
    
    FTP configuration extenstion schema.
    
    ** Please DO NOT edit this file yourself. **
    
    If you want to add configuration sections to the schema, you may place 
    them in .xml files similar to this one, in this directory. They will be 
    picked up automatically on startup.

-->

<configSchema>
    <sectionSchema name="system.applicationHost/sites">
        <collection addElement="site">
            <element name="ftpServer">
                <attribute name="state" type="enum" extension="Microsoft.ApplicationHostFtpConfigExtension">
                    <enum name="Starting" value="0" />
                    <enum name="Started" value="1" />
                    <enum name="Stopping" value="2" />
                    <enum name="Stopped" value="3" />
                    <enum name="Unknown" value="4" />
                </attribute>
                <attribute name="lastStartupStatus" type="uint" extension="Microsoft.ApplicationHostFtpConfigExtension"/>
                <element name="sessions" extension="Microsoft.ApplicationHostFtpConfigExtension">
                    <collection addElement="session">
                        <attribute name="clientIp" type="string" />
                        <attribute name="sessionId" type="string" />
                        <attribute name="sessionStartTime" type="string" />
                        <attribute name="userName" type="string" />
                        <attribute name="currentCommand" type="string" />
                        <attribute name="previousCommand" type="string" />
                        <attribute name="commandStartTime" type="string" />
                        <attribute name="bytesSent" type="int64" />
                        <attribute name="bytesReceived" type="int64" />
                        <attribute name="lastErrorStatus" type="uint" />
                        <method name="Terminate" extension="Microsoft.ApplicationHostFtpConfigExtension"/>
                    </collection>
                </element>
                <method name="Start" extension="Microsoft.ApplicationHostFtpConfigExtension" />
                <method name="Stop" extension="Microsoft.ApplicationHostFtpConfigExtension" />
                <method name="FlushLog" extension="Microsoft.ApplicationHostFtpConfigExtension" />
            </element>
        </collection>
    </sectionSchema>
    
    <sectionSchema name="system.ftpServer/caching">
        <element name="credentialsCache">
            <method name="Flush" extension="Microsoft.ApplicationHostFtpConfigExtension"/>
        </element>
    </sectionSchema>

</configSchema>
