files-in-directory()
This function creates a semicolon-separated list of files and/or directories that are in directory a. Directories are marked with a trailing slash (/), semicolons in names are escaped with (\). If the directory does not exist, you will get an empty list.
Parameters
Parameter |
Description |
a |
Relative (to the installation directory of the Integration Server) or absolute path. Example: ./conf |
b |
(optional) Regular expression (as name pattern) to restrict the result list. Default: .* Example:.*.properties |
c |
(optional) You can specify whether you want to have only files (f), only directories (d) or files and directories (fd) in the result list. Default: f. Note: Further contents of directories are not listed. |
d |
(optional) true to only only add readable files and directories to the list. Default: false. |