GetFilesInDirectory

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
GetFilesInDirectory

Type: Function
Context: Server
Introduced: v1.5.0

Description

Gets the files in a specific directory.

Syntax

GetFilesInDirectory(Path, bRecursive)

Parameters

  • Path
    Path as a string from where to get the file names.
  • bRecursive
    Whether to get files form subdirectores as well. Default: false

Return Value

  • Returns the file names in a table.

Example

See also