DirectoryList()

For the given directory get the file contents {supports Amazon S3}

Usage

ARRAY = DirectoryList( path, recurse, listinfo, filter, sort )
Argument Summary
path the path of the directory to list
recurse whether it should list all the sub-directories [optional]
listinfo Values: name, path, query. If 'name' returns a array of file names. 'path' full path of each one in an array, 'query' returns a query object [optional]
filter File extension to filter on [optional]
sort A comma separated list the query columns to sort on and in which direction e.g. 'name asc, size desc' [optional]

Calling

Supports named-parameter calling allowing you to use the function like:

DirectoryList(
   path=?, 
   recurse=?, 
   listinfo=?, 
   filter=?, 
   sort=?
);

Supports passing parameters as a structure using ArgumentCollection:

DirectoryList( ArgumentCollection={
   path : ?, 
   recurse : ?, 
   listinfo : ?, 
   filter : ?, 
   sort : ?
} );