Get List of File Names
Operation name
Get List of File Names
Function overview
Gets a list of file names in a directory.
Data model
The data model of this component is XML type.
Properties
For details on use of variables, refer to Variables.
Basic settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Name |
Required |
Not available |
Enter a name that is used on the script canvas. |
|
Required settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Directory path |
Required |
Available |
Enter the directory path to get the list. The Browse button launches a directory chooser that allows you to select a directory. |
Note
|
Sort file name list |
Optional |
Not available |
Select whether to sort the list of file names.
|
|
Sort order |
Optional |
Not available |
Select the sort order.
|
|
Comment
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Comment |
Optional |
Not available |
You can write a short description of this connector. |
|
Input schema
None.
Output schema
<?xml version="1.0" encoding="UTF-8" ?> <filelist> <file name="" size="" type="" updated=""/> </filelist>
Element name |
Attribute name |
Description |
Remarks |
---|---|---|---|
filelist |
- |
Root element |
|
file |
name |
The name of the file or the directory retrieved is output. |
|
size |
The size of the file or the directory retrieved is output. The unit is byte. |
|
|
type |
The type of the file or the directory retrieved is output.
|
|
|
updated |
The last modified date and time of the file or the directory retrieved is output. |
|
Loading schema in Mapper
The schema is loaded automatically.
For details, refer to Edit Schema.
Mass data processing
Mass data processing isn't supported.
Parallel Stream Processing
PSP isn't supported.
Available component variables
Variable name |
Description |
Remarks |
---|---|---|
success |
The result of the operation is stored. |
|
directoryCount |
The number of retrieved directories is stored. |
|
fileCount |
The number of retrieved files is stored. |
|
message_category |
When an error occurs, the category of the message code corresponding to the error is stored. |
|
message_code |
When an error occurs, the code of the message code corresponding to the error is stored. |
|
message_level |
When an error occurs, the severity of the message code corresponding to the error is stored. |
|
error_type |
When an error occurs, the error type is stored. |
|
error_message |
When an error occurs, the error message is stored. |
|
error_trace |
When an error occurs, the trace information for the error is stored. |
|
Message codes, exception messages, and limitations
Connector |
Message code |
Exception message |
Limitations |
---|---|---|---|