Move Files

FileMove32x32

Description

Moves a set of files on the Runtime engine file system. This action also allows to store in a table the list of moved files.

Parameters

Name Mandatory Default Description

File To Dir

Target directory. Mandatory if File to File is not set.

File To File

Target file. Mandatory if File to Dir is not set.

File From Dir

Source directory. Use with File Includes and File Excludes.

File From File

Source file.

File Overwrite Mode

No

NOT

Overwrite behavior. NOT: Never overwrite. ALWAYS: Always overwrite, NEWER: Overwrite older file, AFTER_DELAY: overwrite only files older by more than File Overwrite Delay (milliseconds).

File Overwrite Delay

No

0

Delay in milliseconds after which the file is considered older. Used with File Overwrite Mode = AFTER DELAY.

File Includes Empty Dirs

No

False

In recursive mode, defines whether empty directories are moved.

File Flatten Model

No

False

In recursive mode, defines whether the directory hierarchy is flattened.

File Preserve Last Modified

No

False

If set to yes, the original update date of the file is preserved.

File Includes

No

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

File Excludes

No

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

File Target Mapper

No

Correspondence mask for file names. For example: .txt=BI.txt.

File Target Mapper Type

No

glob

How the mask in the File Target Mapper field should be interpreted.

  • glob: limits the correspondence mask to glob pattern syntax.

  • regexp: enables full regular expression syntax.

SQL Connection

No

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

SQL Transaction Name

No

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

SQL Schema Name

No

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

Published variables

Name

Description

FILE_NB

Number of files moved.