Column name |
Required / Optional |
Description |
Remarks |
filetype |
Required |
Specify the file type of a file or a directory to create or update.
- file:File
- directory:Directory
|
|
path |
Required |
Specify the path of a file or a directory to create or update. |
- If the specified path is a relative path, the path is converted to a relative path to the [Directory].
|
name |
Optional |
Specify the name of a file or a directory to create or update. |
- If the "directory" is set to the filetype, the value is ignored.
|
data |
Optional |
Inputs the contents of a file to create or update as Base64 format or binaly format. |
- If the "directory" is set to the filetype, the value is ignored.
- If the "file" is set to the filetype and the data has no value, no file is created.
|
Variable name |
Description |
Remarks |
count |
The number of the files or the directories written. |
- 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 |
InputDataNotFoundException |
[Input data] is not specified. |
Specify the [Input data], or draw the data flow. |
InvalidPropertyConfigurationException |
[Directory] is not specified. |
Specify the [Directory]. |
InvalidFileTypeException |
The value of the filetype column in the input data is not file or directory. |
Specify file or directory for a value of the filetype column in input data. |
FileIsNotDirectoryException |
Path input in [Directory] is file. |
Please enter the absolute path of [Directory]. |
PathIsNotAbsoluteException |
Path specified in the [Directory] is a relative path. |
Specify a absolute path for the [Directory]. |
IllegalStateException No column found. |
The file type or the file path in the [Input data] is not specified. |
Specify a file type or a file path in the [Input data]. |