For details on use of variables, refer to “Variables”.
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Name | Required | Not available | Enter the name to show on the script canvas. |
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Destination | Required | Not available | Select a global resource.
|
|
| Local directory | Required | Available | Enter a directory path of DataSpider File System. You can click [Browse] button to launch the directory chooser and find the directory. |
|
| Local file/directory name | Required | Available | Select or enter a source (DataSpiderServer side) file/directory. |
|
| Set directory as target as well | Optional | Not available | Select whether or not to set a directory of [Local file/directory name] as target as well.
|
|
| Container name | Required | Available | Specify the container. |
|
| Create container when it doesn't exist | Optional | Not available | Select whether or not to create when the specified container does not exist.
|
|
| Virtual directory | Optional | Available | Select or enter a virtual directory. |
|
| Overwrite when file exists | Optional | Not available | Select whether or not to overwrite when a file with the same name exists in the specified container.
|
| Item name | Description | Remarks |
|---|---|---|
| Update container name list | Get container names from the specified destination and set them in [Container name]. |
|
| Update virtual directory list | Get virtual directories in the specified container and set them in [Virtual directory]. |
|
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Data processing method | Required | Not available | Select data processing method.
|
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Comment | Optional | Not available | You can write a short description of this adapter. The description will be reflected in the specifications. |
<?xml version="1.0"?>
<server>
<container name="" status="" >
<file etag="" localpath="" name="" size="" status="" type="" updated="" uri="" />
</container>
</server>
| Element name | Attribute name | Description | Remarks |
|---|---|---|---|
| server | - | ||
| container | - | ||
| name | Outputs the container name of the written file. | ||
| status | Outputs the container status of the written file.
|
||
| file | - | Appears for each written file. | |
| etag | Outputs the ETag of the written file. |
|
|
| localpath | Outputs the local path of the written file. | ||
| name | Outputs the file name in Azure BLOB Storage. | ||
| size | Outputs the size of the written file. Unit is byte. |
|
|
| status | Outputs the status of the file.
|
||
| type | Outputs the type of the written file. |
|
|
| updated | Outputs the date and time of the last updated file in which write has been performed. |
|
|
| uri | Outputs the URI of the written file. |
|
Refer to “Edit Schema” for more details.
| Component variable name | Description | Remarks |
|---|---|---|
| count | The number of written files is stored. |
|
| message_category | When an error occurs, the corresponding message code's category is stored. |
|
| message_code | When an error occurs, the corresponding message code is stored. |
|
| message_level | When an error occurs, the corresponding message code's severity 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 error's trace information is stored. |
|
| Exception name | Cause | Solution |
|---|---|---|
| ResourceNotFoundException Resource definition is not found. Name: [] |
[Destination] is not specified. | Specify [Destination]. |
| ResourceNotFoundException Resource definition is not found. Name: [<global resource name>] |
The resource definition selected in [Destination] is not found. | Check the global resource specified in [Destination]. |
| InvalidPropertyConfigurationException <property name> is not specified. |
[<property name>] is not specified. | Specify [<property name>]. |
| InvalidPropertyConfigurationException The local directory does not exist. |
The directory path specified in [Local directory] does not exist. | Specify a directory path that exists in [Local directory]. |
| InvalidPropertyConfigurationException The path specified in local directory is not a directory. |
The path specified in [Local directory] is not a directory. | Specify a directory path in [Local directory]. |
| InvalidPropertyConfigurationException Could not read the local directory. |
Could not read the directory specified in [Local directory]. | Specify a readable directory path in [Local directory]. |
| com.microsoft.azure.storage.StorageException |
Status unavailable to connect due to the following causes.
|
Check the settings of the global resource specified in [Destination] and the connection. |
| java.security.InvalidKeyException Storage Key is not a valid base64 encoded string. |
There is something wrong with [Access key] of the global resource specified in [Destination]. | Check the settings of the global resource specified in [Destination]. |