$io.list

Returns the list of all files and subdirectories from the specified directory.
Syntax
    $io.list{directory}[{recurse}]?
    $io.list{directory}
DocumentationReturns a newline separated list of all files and subdirectories of the specified directory. If the second parameter is true (1) the list is enhanced by the function recursing itself over all found subdirectories.

    Parameters:
      1 - directory in SITEFORUM protocol notation 2 - recurse; boolean, optional, defaults to false
    Returns:
      Newline separated list of files.
    Throws:
      IOException
Examples
$io.list{public://}
GroupSpecial
Minimum required transaction-mode:READ=IO
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 2