Activity |
ListFiles |
---|---|
Description |
List files in a FileStore |
Input :
PropertyName |
Type |
Required |
Default Value |
Description |
---|---|---|---|---|
fileStoreName |
STRING |
YES |
|
Name of the FileStore |
prefix |
STRING |
NO |
|
prefix of the file that needs to be returned, for example : “/sub/log_” |
suffix |
STRING |
NO |
|
suffix of the file that needs to be returned “.csv” |
Output
An array of Filetokens
Example:
List content of “local” file store
Input
{
"fileStoreName" : "local",
"prefix" : "subdir/",
"suffix" : ".xslx"
}
Output
[
"file://local/subdir/file.xslx",
"file://local/subdir/file2.xslx",
"file://local/subdir/file3.xslx"
]