Delete Files

FileDelete32x32

Description

Deletes a set of files in the Runtime engine file system. This action also allows to store in a table the list of deleted files.

Parameters

Name Mandatory Default Description

Del Dir

Directory to Delete. Use with Del Includes and Del Excludes.

Del File

File to Delete. Note that both Del Dir and Del File can be used simultaneously. This will cause the two delete operations.

Del Includes

No

List of files to include. This is a semi-colon separated list of file masks. For example: .xls;.xml;file.csv

Del Excludes

No

List of files to exclude. This is a semi-colon separated list of file masks. For example: .xls;.xml;file.csv

Del Fails on Error

No

True

The action completes in error state if a file cannot be deleted.

Del Include Empty Dirs

In recursive mode, defines whether empty directories are deleted

SQL Connection

No

SQL connection into which the list of deleted files is published.

SQL Transaction Name

No

SQL transaction into which the list of deleted files is published.

SQL Schema Name

No

SQL schema into which the list of deleted files is published.

Published Variables

Name

Description

FILE_NB

Number of files deleted.