Skip to main content

Read File (Win Share)

Overview

The Read File (Win Share) node reads one or more files from a Windows shared location and outputs them as NodeFile values.

Purpose

Use this node when a workflow needs files from an SMB/Windows share configured as a Windows Share service.

Configuration

FieldDescription
Windows Share ServiceWindows share service to connect to. For more, see Windows Share Service.
File PathFile path on the Windows share. The value can be an exact path or a wildcard pattern and can use workflow properties.
Read file content to propertyStores the file content in WIN_SHARE_FILE_READ_CONTENT when enabled. The UI disables this option for unsupported file extensions such as Excel and PDF files.

Outputs

OutputData TypeCollectionDescription
OutputFileNodeFileTrueOne output item for each matching shared file.

Properties

PropertyFlowDataTypeDescription
WIN_SHARE_FILE_READ_FILEJsonNode
WIN_SHARE_FILE_READ_CONTENTString
WIN_SHARE_FILE_READ_NAMEString
WIN_SHARE_FILE_READ_PATHString
WIN_SHARE_FILE_READ_SIZELong
WIN_SHARE_FILE_READ_LAST_MODIFIEDLong
WIN_SHARE_FILE_READ_IS_HIDDENBoolean
WIN_SHARE_FILE_READ_CAN_READBoolean
WIN_SHARE_FILE_READ_CAN_WRITEBoolean
WIN_SHARE_FILE_READ_OWNER_GROUPString
WIN_SHARE_FILE_READ_OWNERString
WIN_SHARE_FILE_READ_REQUEST_PROPERTIESJsonNode
WIN_SHARE_FILE_READ_SERVERString

Processing Logic

At runtime, the node evaluates expressions in the configured path, splits the parent directory from the file pattern, lists matching SMB files, skips directories, downloads each file into the workflow working directory, attaches SMB metadata properties, and emits each downloaded file as a NodeFile. If no matching files are found, the node emits an empty output.

Examples

example_shares_folder\examplefile.csv
signatures_shares\signatures${EXEC_BY_USERNAME}_scanned_signature.jpg

Notes / Limitations

  • The configured Windows Share service must have permission to list and read the target path.
  • The file path may point to a single file or a wildcard pattern.
  • Directories are ignored.
  • If no files match, the node returns an empty output rather than failing.