File Access

File Access

ID: uniflow.plugin.fileaccess  •  Category: Storage  •  Version: v1.0.34

File Access Plugin Reference Manual

1. Overview

Plugin Name: File Access

Type: Storage

Identifier: uniflow.plugin.fileaccess

Description

A source plugin that monitors observable folders and allows reading/writing byte arrays and text files dynamically.


2. Configuration Parameters

The following configuration fields are available in the User Interface for this plugin:

Configuration SettingDescription
Friendly NameSpecifies the friendly name.
Description / NotesSpecifies the description / notes.

3. Exposed Routes & Data Types

The following routes are available in the Uniflow catalog for this plugin:

Display NameRoute IDKindCategoryAccessData Type
string.IsNullOrWhiteSpace(folder.Path) ? $Folder {i+1} : folder.Pathfolder_{i}ValueStorageReadJson
Write Filefile:writeValueStorageWriteJson
Delete Filefile:deleteValueStorageWriteJson
File addedevent:fileaddedEventStorageListenEvent Object
File deletedevent:filedeletedEventStorageListenEvent Object
File changeevent:filechangeEventStorageListenEvent Object

Route Parameters: Write File

This route requires the following parameters when executing commands or writes.

Parameter NameDisplay NameTypeRequired
pathFile PathStringtrue
formatData TypeStringtrue
operationOperationStringtrue
contentValueStringtrue

Route Parameters: Delete File

This route requires the following parameters when executing commands or writes.

Parameter NameDisplay NameTypeRequired
pathFile PathStringtrue

4. Usage Examples

Scenario A: Reading/Monitoring Data

To monitor data from File Access, add the corresponding Input Node in the Rule Editor and select the desired property from the catalog. Link its output to any logical comparison or directly to an Action Node.

Scenario B: Triggering Actions

If the plugin supports writable properties or actions, use an Action Node in the Rule Editor. Configure the Target property to point to the File Access action, and supply any required parameters mapping from your rule's logic.