Lasso Soft Inc. > Home

[File_ListDirectory]

[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.

  • Syntax
  • Parameters
[File_ListDirectory: File Name]
Required Parameters
File Name The name of the directory to be listed. This parameter must not be empty.
Examples

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: '/']
Result:
(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 Internal Sets Lasso 6.0, 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. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft