[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]
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))
Tag Link | [File_ListDirectory] | Category | File |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Preferred | Version | 5.0 |
Output Type | Array | Security | Tag |
Implementation | Sets | Lasso 5.0 |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft