Local File

Top  Previous  Next

Local File driver provides monitoring for files located on the AggreGate server.

Driver Information

Driver Plugin ID:

com.tibbo.linkserver.plugin.device.file

Global Settings

None defined.

User Level Settings

None defined.

Device Properties

Local file monitoring can be configured using the following properties:

Field Name

Field Description

Path

Specifies the file location (full path).

Read Contents

Enables/disables reading of the file contents.

Allow Editing

Allows or prohibits modification of the file contents.

Calculate Checksum

Enables/disables file checksum calculation.

Device Settings

Local File device driver creates two Device setting variables:

Variable Name

Variable Description

Comments

attributes

File Attributes

Contains the file attributes:

Last Modification Time (modificationTime)
Size (size)
Checksum calculated using Adler-32 algorithm (checksum)

contents

File Contents

Read-only (if Read Contents option is on) or editable (if Allow Editing option is also on) file contents.

Device Operations

No operations provided by the driver.

Device Events

No events provided by the driver.

Connection Handling

A file device is deemed Online if the selected file exists.

Synchronization Details

As Local File is a Device Driver, it performs a "synchronization" with AggreGate Server like any other driver. During synchronization, the attributes and contents of the file are obtained. Also, if editing is allowed and a user has edited server copy of file contents, the new contents are written to the file.

Local File Status

If all I/O operations with the file are successfully finished, the local file Device is deemed "online".

If no file exists at the path specified, or any error was encountered while accessing the file, Local File Device is considered "offline".

note_warning-wt

If Local File is "offline" file, attributes and contents can still be read and analyzed by system facilities. They will, however, have values obtained when the file was accessed successfully for the last time.