Copy Files

FileCopy32x32

Description

Copies a set of files on the Runtime engine file system. This action also allows to store in a table the list of copied 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 copied.

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.

SQL Connection

No

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

SQL Transaction Name

No

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

SQL Schema Name

No

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

Published Variables

Name

Description

FILE_NB

Number of files copied.