Write Filesystem

Operation name

Write Filesystem

Function overview

Creates or updates files and directories from the input data.

Data model

The data model of this component is table model type.

Properties

= Remarks =

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.

 

Input data

Required

Not available

Select a component on the script canvas.

 

Required settings

Item name

Required/Optional

Use of variables

Description

Remarks

Directory

Required

Available

Enter the directory to write.

The Browse button launches a directory chooser that allows you to select a directory.

  • If the value in the path column in the input data is a relative path, the path is handled as a relative path from Directory.

  • If the value in the path column in the input data is an absolute path, the file path in the input data takes priority.

Note

Comment

Item name

Required/Optional

Use of variables

Description

Remarks

Comment

Optional

Not available

You can write a short description of this connector.

 

Schemas

Input schema

<?xml version="1.0"?>
<table>
  <row>
    <column>filetype</column>
    <column>path</column>
    <column>name</column>
    <column>data</column>
  </row>
  <row>
    :
  </row>
</table>

Column name

Required/Optional

Description

Remarks

filetype

Required

Enter the type of a file or a directory to create or update.

file

File

directory

Directory

 

path

Required

Enter the path of a file or a directory to create or update.

  • If the entered path is a relative path, the path is handled as a relative path from Directory.

name

Optional

The entered value is ignored.

 

data

Optional

Enter the contents of a file to create or update as Base64 format or binary format.

  • If the "directory" is specified in filetype, the entered value is ignored.

  • If the "file" is specified in filetype, and data has no value, no file is created.

Output schema

None.

Loading schema in Mapper

The schema is loaded automatically.

= Remarks =

For details, refer to Edit Schema.

Transaction

Transaction isn't supported.

Parallel Stream Processing

PSP isn't supported.

Available component variables

Variable name

Description

Remarks

count

The number of the files or the directories written is stored.

  • The default value is null.

message_category

When an error occurs, the category of the message code corresponding to the error is stored.

  • The default value is null.

message_code

When an error occurs, the code of the message code corresponding to the error is stored.

  • The default value is null.

message_level

When an error occurs, the severity of the message code corresponding to the error is stored.

  • The default value is null.

error_type

When an error occurs, the error type is stored.

  • The default value is null.

  • The format of the error type is as follows.

    Example: java.io.FileNotFoundException

error_message

When an error occurs, the error message is stored.

  • The default value is null.

error_trace

When an error occurs, the trace information for the error is stored.

  • The default value is null.

Message codes, exception messages, and limitations

Connector

Message code

Exception message

Limitations

Messages and limitations of the Filesystem connector

check

check

None