File Read

Reads the content of a file as either binary (byte array) or text (string). Supports local filesystem and UNC paths.

The File Read Node is not executable in Run From Cloud configuration and should instead be run from a DropPoint.

This Node is only available in the 2023 Refresh.

Revision History

2.0.0.0 - Initial Release
2.0.0.1 - Fixed exception: Poll interval too long

Properties

Connection

Type: Connection Input
Provides a Connection and a DropPoint to service the request.

Path

Type: String Input
The path to the file. This may be a UNC path, a relative or absolute local path (when executed at a DropPoint).

Type

Type: List Input
Indicates whether the file should be read or written as text or binary. In Text mode, the file is read or written as a string. In Binary mode, the file is read or written as a byte array.

Text
Binary

Content

Type: Multiline Text InputOutput
Provides access to the file stream. This property will be set to the file content during invoke. Content may be of type string or byte array - refer to the Type property for more information.

Remarks

The prefix provided as part of SourcePath determines the file type as follows:

  • [Drive]:\ local filesystem
  • \\ UNC path for network share

Authentication

If you require specific credentials to gain access to a local file or UNC path, change the Windows Service account used by the DropPoint.

See Also

File Compressor
Flat File
File Write
File Delete
File Enumerate
File Copy
File Info
File Move
File Watch