Show TOC

Function documentationGet File List Locate this document in the navigation structure

 

This action is used to return all files in the folder specified by the path. A mask can be applied to filter the types of files that are returned. The FileList outgoing property contains the list of files found by the action and includes file-specific attributes.

Features

The properties for this action are listed in the following table:

Property

Data Type

Access

Use

Folder

String

In and out

Identifies the path of the folder from which you want to retrieve the list of files. For example, if you want to return all files in the folder wwwroot, the file path would be c:/InetPub/wwwroot/.

Mask

String

In and out

Defines the mask used to filter the file list. For example, *.htm returns a list of files with the .htm extension.

FileList

XML

Out

Provides access to the output XML including the name of the file, its corresponding size, date, last write date, and full path.

The last access date information is not used by the system, so the corresponding column will be blank.

Success

Boolean

Out

Indicates whether the action succeeded or failed. If it failed, errors are displayed in the server trace log.