Item name |
Required/Optional |
Use of Variables |
Description |
Supplement |
Directory |
Required |
Available |
Enter the directory to read.
Click [Browse] button to activate the file Selectr and Select the directory. |
|
Data mode |
Required |
Not available |
Select the data mode to extract from [Directory].
- [Data]: (default)
Gets structural information in the directory specified file or directory (type, path, name) and the file contents. The contents are gotten as binary format.
- [Structure]:
Gets structural information in the directory specified file or directory (type, path, name).
|
- If the [Data] is specified, print the contents of files only.
|
Recursive processing |
Required |
Not available |
Select whether to recursively extracted.
- [false]: (default)
Do not get recursively.
- [true]:
Get recursively.
|
|
Variable name |
Description |
Remarks |
count |
Get the number of the returned files or directories. |
- The value defaults to null.
|
message_category |
Stroes the category to which corresponding message code belongs to, when an error occurs. |
- The value defaults to null.
|
message_code |
Stores its corresponding message code of occured error. |
- The value defaults to null.
|
message_level |
Stores the severity of the corresponding message code of the occured error. |
- The value defaults to null.
|
error_type |
Stores the type of the occured error. |
- The value defaults to null.
- Error is represented in the format depicted below.
Example:java.io.FileNotFoundException
- The message may vary depending on DataSpider Servista version.
|
error_message |
Stores the error message for the occured error. |
- The value defaults to null.
- The message may vary depending on DataSpider Servista version.
|
error_trace |
Stores stack trace of the occurred error. |
- The value defaults to null.
- The message may vary depending on DataSpider Servista version or the client application used.
|
Exception name |
Cause |
Solution |
InvalidPropertyConfigurationException |
[Directory] is not specified. |
Specify the [Directory]. |
FileIsNotDirectoryException |
Path input in [Directory] is file. |
Please enter the absolute path of [Directory]. |
PathIsNotAbsoluteException |
Path specified in the [Directory] is a relative path. |
Please enter the absolute path of [Directory]. |
java.io.FileNotFoundException |
Path specified in the [Directory] does not exist. |
Check the path in the [Directory]. |