Write File/Folder
Operation name
Write File/Folder
Function overview
Writes file/folder on HULFT Square Storage to Amazon S3.
Data model
The data model of this component is XML type.
Tutorials
For details about how to create a connection to Amazon S3, refer to the following tutorial:
Properties
For details on use of variables, refer to Variables.
Basic settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Name |
Required |
Not available |
Enter a name that is used on the script canvas. |
|
Required settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Destination |
Required |
Not available |
Select a connection resource.
|
|
Local directory |
Required |
Available |
Enter a directory path of HULFT Square Storage. The Browse button launches a directory chooser that allows you to select a directory. |
Note
|
Local file/directory name |
Required |
Available |
Specify a file/directory on HULFT Square Storage. |
|
Recursive processing |
Optional |
Not available |
For the specified local directory, select whether to process file/directory recursively.
|
|
Bucket name |
Required |
Available |
Specify a bucket. |
|
Create a bucket when it doesn't exist |
Optional |
Not available |
Select whether to create a bucket when the specified bucket doesn't exist.
|
|
Folder path |
Required |
Available |
Enter an Amazon S3 folder path. |
Note
|
Create folder when it doesn't exist |
Optional |
Not available |
Select whether to create the folder when the specified folder doesn't exist.
|
|
Overwrite |
Optional |
Not available |
Select whether to overwrite when a file with the same name exists in the specified folder.
|
|
Storage class |
Required |
Not available |
Select Storage Class of the specified file.
|
|
Permissions |
Required |
Not available |
Select the access permission of the specified file.
|
|
Include permissions in result |
Optional |
Not available |
Select whether to include file access right information in the results.
|
|
Encryption settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Encryption |
Required |
Not available |
Select whether to encrypt file or not.
|
|
Public Key |
Required |
Available |
Enter file path of public key to encrypt. The Browse button launches a file chooser that allows you to select a file. |
Note
|
Data processing method
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Data processing method |
Required |
Not available |
Select a data processing method.
|
Note
This setting is used to configure the output processing method of result data. It doesn't affect files/folders to be written. |
Comment
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Comment |
Optional |
Not available |
You can write a short description of this connector. |
|
Input schema
None.
Output schema
<?xml version="1.0"?> <server> <bucket name="" status="" > <file etag="" localpath="" name="" public="" remotepath="" size="" status="" storageclass="" type="" updated="" /> </bucket> </server>
Element name |
Attribute name |
Description |
Remarks |
---|---|---|---|
server |
- |
|
|
bucket |
- |
Appears for the bucket that is specified in Bucket name. |
|
name |
Outputs the name that is specified in Bucket name. |
|
|
status |
Outputs the status of the bucket that is specified in Bucket name.
|
|
|
file |
- |
Appears once for each written file/folder. |
|
etag |
Outputs ETag of written file/folder. |
|
|
localpath |
Outputs local path of written file/folder. |
|
|
name |
Outputs name of the written file/folder. |
|
|
public |
Outputs access right of written file/folder.
|
|
|
remotepath |
Outputs file path on Amazon S3 of written file/folder. |
|
|
size |
Outputs size of written file/folder. The unit is byte. |
|
|
status |
Outputs status of written file/folder.
|
|
|
storageclass |
Outputs Storage Class of the retrieved file/folder.
|
|
|
type |
Outputs classification of written file/folder.
|
|
|
updated |
Outputs the last updated date of written file/folder. |
|
Loading schema in Mapper
The schema is loaded automatically.
For details, refer to Edit Schema.
Mass data processing
Mass data processing is supported.
Transaction
Transaction isn't supported.
Parallel Stream Processing
PSP isn't supported.
Available component variables
Component variable name |
Description |
Remarks |
---|---|---|
count |
The number of written folders and files is stored. |
|
folder_count |
The number of written folders is stored. |
|
file_count |
The number of written files is stored. |
|
message_category |
When an error occurs, the category of the message code corresponding to the error is stored. |
|
message_code |
When an error occurs, the code of the message code corresponding to the error is stored. |
|
message_level |
When an error occurs, the severity of the message code corresponding to the error 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 trace information for the error is stored. |
|
Message codes, exception messages, and limitations
Connector |
Message code |
Exception message |
Limitations |
---|---|---|---|