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.
|
|
| Container name | Required | Available | Specify the container. |
|
| Virtual directory | Optional | Available | Select or enter a virtual directory. |
|
| File/Directory name | Required | Available | Select or enter a file/directory name. |
|
| Set directory as target as well | Optional | Not available | Select whether or not to set the directory of [File/Directory name] as target as well.
|
|
| Get only file information | Optional | Not available | Select whether or not to get only file information without downloading the file in local.
|
|
| 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. |
|
| Overwrite when file exists | Optional | Not available | Select whether or not to overwrite when a file with the same name exists in the specified local directory.
|
|
| 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]. |
|
| Update file/directory name list | Get file/directory names in the specified virtual directory and set them in [File/Directory name]. |
|
| Item name | Required/Optional | Use of variables | Description | Remarks |
|---|---|---|---|---|
| Data processing method | Required | Not available | Select a 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 got file. | ||
| status | Outputs the container status of the file.
|
||
| file | - | Appears for each got file. | |
| etag | Outputs the ETag of the file. |
|
|
| localpath | Outputs the local path of the file. |
|
|
| name | Outputs the file name in Azure BLOB Storage. | ||
| size | Outputs the file size. Unit is byte. |
|
|
| status | Outputs the status of the file.
|
||
| type | Outputs the type of the file. |
|
|
| updated | Outputs the last updated date and time of the file. |
|
|
| uri | Outputs the URI of the file. |
|
For more details, refer to “Edit Schema”.
| Component variable name | Description | Remarks |
|---|---|---|
| count | The number of got files is stored. |
|
| message_category | When an error occurs, category of the corresponding message code is stored. |
|
| message_code | When an error occurs, code of the corresponding message code is stored. |
|
| message_level | When an error occurs, severity of the corresponding message code 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, trace information of the error 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 write to the local directory. |
Could not write to the directory specified in [Local directory]. | Specify a writable 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]. |