File Processor Agent File – Archive

<< Click to Display Table of Contents >>

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

File Processor Agent File – Archive

 

Setting

Type

Description

archiveFileName

String

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

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

May contain (case-insensitive) {processor}, {fileNameWithExtension}, {fileNameWithoutExtension}, {fileExtension} (without the dot, e.g., csv), and dates and times {fileLastWriteTime:*}, {fileLastWriteTimeUtc:*}, {now:*}, and {utcNow:*}, where * is a custom date and time format string, e.g., 'yyyyMMddTHHmm'.

e.g., {fileNameWithoutExtension}-{fileLastWriteTime:yyyyMMddTHHmm}.{fileExtension}

archiveFilePath

String

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

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

If this folder does not exist, it is created.

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.)

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

May contain (case-insensitive) {processor}, {folderWatcherPath}, and {fileExtension} (without the dot, e.g., csv), and .. can be used to go up one directory.

e.g., (relative path) ..\..\..\{processor} moves the files from folderWatcherPath 'C:\A\B\C\D' to 'C:\A\HOBO' (if {processor} is HOBO).