Delete File/Directory/Container

Operation name

Delete File/Directory/Container

Function overview

Deletes the specified file, directory, or container in Microsoft Azure BLOB Storage.

Data model

The data model of this component is XML 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.

 

Required settings

Item name

Required/Optional

Use of variables

Description

Remarks

Destination

Required

Not available

Select a connection resource.

Add

A new connection resource can be added.

Edit list

Connection resource settings can be edited in > HULFT INTEGRATE > Connections.

 

Container name

Required

Available

Specify the container.

  • For details on naming conventions of container name in Microsoft Azure, refer to Limitations of AZUREBLOB category.

  • When specifying root container, create a new container named $root and select it.

Delete container

Optional

Not available

Select whether or not to delete container.

Selected

Delete container.

Not selected

(Default)

Delete file.

 

Virtual directory

Optional

Available

Select or enter a virtual directory.

  • When omitted, it will be root directory "/".

File/Directory name

Required

Available

Select or enter a file/directory name.

  • Disabled when Delete container is selected.

  • Wildcards ("*" and "?") can be used.

  • Case-sensitive.

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.

Selected

Files and directories of File/Directory name will be targets.

Not selected

(Default)

Files of File/Directory name will be targets.

 

Property actions

Item name

Description

Remarks

Update container name list

Get container names from the specified destination and set them in Container name.

  • When Destination is changed or the container in Microsoft Azure BLOB Storage is modified, those changes can be reflected with this property action.

  • Disabled when Destination isn't specified.

Update virtual directory list

Get virtual directories in the specified container and set them in Virtual directory.

  • When Container name is changed or the virtual directory in Microsoft Azure BLOB Storage is modified, those changes can be reflected by this property action.

  • Disabled when Destination or Container name isn't specified.

Update file/directory name list

Get file/directory names in the specified virtual directory and set them in File/Directory name.

  • When Virtual directory is changed or the file in Microsoft Azure BLOB Storage is modified, those changes can be reflected with this property action.

  • When Set directory as target as well is selected, directory names will be gotten as well.

  • Disabled when Destination, Container name, or Virtual directory isn't specified.

Data processing method

Item name

Required/Optional

Use of variables

Description

Remarks

Data processing method

Required

Not available

Select a data processing method.

Apply script settings

(Default)

The setting for mass data processing in the script properties is applied to the connector.

Do not perform mass data processing

Mass data processing isn't performed.

Perform mass data processing

Mass data processing is performed.

 

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

None.

Output schema

When deleting files

<?xml version="1.0"?>
<server>
  <container name="" status="" >
    <file name="" status="" />
  </container>
</server>

Element name

Attribute name

Description

Remarks

server

-

 

 

container

-

 

 

name

Outputs the container name of the deleted file.

 

status

Outputs the container status of the deleted file.

Exist

The container exists.

ErrorContainerNotFound

The container doesn't exist. The specified Container name might be incorrect.

Error

The existence of container couldn't be confirmed due to an error.

 

file

 

Appears once for each deleted file.

 

name

Outputs the file name in Azure BLOB Storage of the deleted file.

 

status

Outputs the status of the deleted file.

Deleted

The file has been deleted successfully.

ErrorRemoteFileNotFound

The file doesn't exist. The specified File name might be incorrect.

Error

The file couldn't be deleted due to an error.

 

When deleting container

<?xml version="1.0"?>
<server>
  <container name="" status="" />
</server>

Element name

Attribute name

Description

Remarks

server

-

 

 

container

-

 

 

name

Outputs the name of the deleted container.

 

status

Outputs the status of the deleted container.

Deleted

The container has been deleted successfully.

ErrorContainerNotFound

The container doesn't exist. The specified container name might be incorrect.

Error

The container couldn't be deleted due to an error.

 

Loading schema in Mapper

The schema is loaded automatically.

= Remarks =

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 deleted files/containers 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 Azure BLOB Storage connector

check

check

check