Live File Processor Agent File – Archive

<< Click to Display Table of Contents >>

Navigation:  Live > Agents > File Agents > File Processor > Settings > File >

Live File Processor Agent File – Archive

 

Setting

Type

Description

archiveFileMinimumSize

Int64

Archive a file if its size is greater than or equal to this number of bytes.

 

Default Value: 0 (always archive the file, if an archiveFilePath is specified).

archiveFileName

Composite String

Move the file to archiveFilePath, after it is processed, and rename it using this pattern.

 

If this setting is not defined or empty, the file is not renamed (but it can still be moved).

archiveFilePath

Composite String

Move the file to this path, after it is processed.

 

The path can be a local path (e.g., C:\EarthSoft\Live\HOBO),
or a UNC path (e.g., \\servername\path),
or a relative path.

 

Relative paths are relative to the folderWatcherPath. (Or the %temp% folder, if folderWatcherPath is an FTP URI.)

 

Examples of relative paths:

..\..\..\{processor}

where .. is used to go up one directory

and {processor} is 'HOBO'

and folderWatcherPath is 'C:\A\B\C\D'

moves the file to 'C:\A\HOBO\'.

 

Archive

where folderWatcherPath is 'C:\A\B\C\D'

moves the file to 'C:\A\B\C\D\Archive\'.

 

If this setting is empty or not defined, the file is not moved.

 

If this folder does not exist, it is created.

 

If the destination file already exists, it is deleted first.

errorFileName

Composite String

Same as archiveFileName, but used if the file can not be processed.

errorFilePath

Composite String

Same as archiveFilePath, but used if the file can not be processed.