Previous Next
Opalis Integration Pack for UNIX > Objects > Monitor Folder

Monitor Folder
The Monitor Folder object is used to monitor for changes to files in a folder that you specify.
How it is used
Use the Monitor Folder object to watch for new files greater than a certain size that are added to the folder.
Configuration
To configure the Monitor Folder object you need to know the path of the folder that you want to monitor, and the events that will trigger this object.
Details tab
 
File
Type the path of the folder that you want to monitor.
Trigger conditions
Select the options to determine which events will trigger this object:
File modified – trigger this object if a file in the folder is modified, such as when a user opens the file, makes changes to it, saves it, and closes it.
Folder size (KB) – trigger this object if the size of all the files in the folder is less than or greater than a size that you specify. Select the option from the drop-down list, and type the size in kilobytes in the field.
Number of files – trigger this object if the number of files is less than, greater to, or equal to a number that you specify. Select the option from the drop-down list, and type the number of files in the field.
Polling interval (seconds)
Type the frequency (in seconds) that this object should check for changes to the folder that you are monitoring.
Connection tab
You must configure a connection to a UNIX computer before you can use this object. To configure a connection, see Connecting to a UNIX Server for instructions.
Select the connection name that you want to use from the Server drop-down list.
Available Published Data
 
Name
Description
Full path name
The path of the folder to be monitored.
File Folder
The name of the folder to be monitored, without the path.
File Name
The name of the file in the monitored folder that was changed.
Change type
The type of change that triggered this object–added, deleted, or changed.
Number of added files
The number of files that were added to the monitored folder.
Number of deleted files
The number of files that were deleted from the monitored folder.
Number of changed files
The number of files in the monitored folder that were changed.
Common Published Data

Previous Next