Item name | Required / Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Name | Required | Not available | Enter the name on the script canvas. |
Item name | Required / Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Destination | Required | Not available | Select global resource.
|
|
Bucket name | Required | Available | Specify Bucket. |
|
Folder path | Required | Available | Enter Niftycloud Storage folder path. |
|
File/folder name | Required | Available | Specify file /folder. |
|
Local directory | Required | Available | Specify a directory path of DataSpider filesystem. Select a directory in the directory chooser that is launched, by pressing [Browse] button. |
|
Overwrite | Optional | Not available | Choose whether to overwrite when file with the same name exists on the specified local directory.
|
|
Recursive processing | Optional | Not available | For a specified folder, select whether to get the file/folder recursively or not.
|
|
With information of file access rights | Optional | Not available | Choose whether to include file access right information in the results.
|
Item name | Required / Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Mass data processing | 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> <bucket errorcode="" name="" status="" > <file errorcode="" etag="" localpath="" name="" public="" remotepath="" size="" status="" type="" updated="" /> </bucket> </server>
Element Name | Attribute Name | Description | Remarks |
---|---|---|---|
server | - | ||
bucket | - | Appears in each Bucket which is gotten. | |
errorcode | When an error occur in Niftycloud Storage during getting a bucket, APT error code is output which is defined at Niftycloud Storage. |
|
|
name | Outputs the name of the gotten file/folder. | ||
status | Outputs status of the gotten file/folder.
|
||
file | - | Appears in each file/folder which is gotten. | |
errorcode | When an error occur in Niftycloud Storage during deleting a file/folder, APT error code is output which is defined at Niftycloud Storage. |
|
|
etag | Outputs the ETag of the gotten file/folder. |
|
|
localpath | Outputs the local path of the retrieved file/folder. |
|
|
name | Outputs the name of the gotten file/folder. |
|
|
public |
Outputs access right of retrieved files/folder.
|
|
|
remotepath | Outputs file path on Niftycloud Storage of the retrieved file/folder. |
|
|
size | Outputs the size of the file/folder retrieved. The unit is byte. |
|
|
status | Outputs status of the gotten file/folder.
|
||
type | Outputs the classification of acquired file/folder.
|
||
updated | Outputs the last updated date of the retrieved file/folder. |
|
Component variable name | Description | Remarks |
---|---|---|
count | Returns the number which is the total number of the gotten folder number and file number. |
|
folder_count | Returns the number of retrieved folder. |
|
file_count | Returns the number of retrieved file. |
|
message_category | Stores the category to which corresponding message code belongs to of occured error. |
|
message_code | Stores its corresponding message code of the occured error. |
|
message_level | Stores the severity of the corresponding message code of the occured error. |
|
error_type | Stores the type of the occured error. |
|
error_message | Stores the error message for the occured error. |
|
error_trace | Stores the stack trace of the occured error. |
|
Exception name | Cause | Solution |
---|---|---|
ResourceNotFoundException Resource definition could not be found.Name: [] |
[Destination] is not specified. | Please specify [Destination]. |
ResourceNotFoundException Resource definition could not be found.Name: [<name of global resource>] |
Resource definition selected in [Destination] is not found. | Please check the global resource specified in [Destination]. |
InvalidPropertyConfigurationException <Property Name> is not specified. |
[<Property Name>] is not specified. | Please specify [<Property Name>]. |
InvalidPropertyConfigurationException "/" is included in file/folder name. |
"/" is included in [File/folder name]. | In [File/folder name], please specify the file/folder name which do not include "/". |
com.nifty.cloud.ncs.service.StorageException The Access Key Id you provided does not exist in our records. |
[AccessKey] of global resource specified in [Destination] is wrong. | Confirm the settings of global resource specified in [Destination]. |
com.nifty.cloud.ncs.service.StorageException The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. For more information, see REST Authentication and SOAP Authentication for details. |
[SecretAccessKey] of global resource specified in [Destination] is wrong. | Confirm the settings of global resource specified in [Destination]. |
com.nifty.cloud.ncs.NiftyCloudClientException Failed to execute HTTP request: Connect to ncss.nifty.com/ncss.nifty.com/xxx.xxx.xxx.xxx timed out |
Connection with Niftycloud Storage could not be confirmed during [Timeout] of global resource specified in [Destination] . | Confirm the settings of global resource specified in [Destination]. |
com.nifty.cloud.ncs.NiftyCloudClientException Failed to execute HTTP request: peer not authenticated |
Certification with Niftycloud Storage could not be confirmed during [Timeout] of global resource specified in [Destination] . | Confirm the settings of global resource specified in [Destination]. |
Key | Location | Description | Remarks |
---|---|---|---|
itemmaxsize | $DATASPIDER_HOME/server/plugin/data_processing/modules/nifty_cloud_storage_adapter/META-INF/ adapter.properties |
The setting procedure is as follows.
|
|