Tag Link | [File_ListDirectory] | Category | File |
---|---|---|---|
Type | Substitution | Source Available | No |
Support | Preferred | Version | 5.0 |
Change | Unchanged | Data Source | Any |
Output Type | Array | Security | Tag |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0 |
Lasso 3 Equivalent | [Directory_Lister] ... |
[File_ListDirectory] returns an array of strings. Each item in the array is the name of one file in the directory. Accepts one parameter, the name of the directory to be listed.
[File_ListDirectory: File Name]
Required Parameters | |
---|---|
File Name | The name of the directory to be listed. This parameter must not be empty. |
To list the contents of a directory:
Use the [File_ListDirectory] tag. The following example lists the contents of the root of the Web serving folder.
[File_ListDirectory: '/']
(Array: (default.lasso), (myfile.txt))
Substitution | ||
---|---|---|
|
|
|