CDDirectory Object

The CDDirectory object controls a directory.

Members Table

    The following table lists the members provided by the CDDirectory object.

    Collections Description
    Directories List of subdirectories.
    Methods Description
    Clear Clears all files and subdirectories.
    CreateDirectory Creates a new subdirectory.
    Delete Deletes a subdirectory.
    GetDirectory Returns a subdirectory by name.
    Import Imports a file or directory.
    Rename Renames a subdirectory.

    This object is returned by the CreateDirectory , GetDirectory or Item method. Use the CDDirectory object to retrieve information about a directory or to modify it.

    Note that the path of a file using SiteKiosk objects must be allowed in the
    SiteKiosk configuration (Security -> Access -> URL's With Script Permission)
    if it is not a browser skin file.
    The following example shows the number of subdirectories of the first subdirectory of the root directory.

    <SCRIPT TYPE="text/javascript">
    firstSubDir = SiteKiosk.CDRecording.RootDirectory.Directories.Item(1);

Applies to
    SiteKiosk v6.0 (and later versions).

Back to top