FetchSmb 2025.10.9.21

Bundle

org.apache.nifi | nifi-smb-nar

Description

Fetches files from a SMB Share. Designed to be used in tandem with ListSmb.

Tags

cifs, fetch, files, samba, smb

Input Requirement

REQUIRED

Supports Sensitive Dynamic Properties

false

Properties

PropertyDescription
Completion StrategySpecifies what to do with the original file on the server once it has been processed. If the Completion Strategy fails, a warning will be logged but the data will still be transferred.
Create Destination DirectorySpecifies whether or not the remote directory should be created if it does not exist.
Destination DirectoryThe directory on the remote server to move the original file to once it has been processed.
remote-fileThe full path of the file to be retrieved from the remote server. Expression language is supported.
smb-client-provider-serviceSpecifies the SMB client provider to use for creating SMB connections.

Relationships

NameDescription
failureA FlowFile will be routed here when failed to fetch its content.
successA FlowFile will be routed here for each successfully fetched file.

Writes attributes

NameDescription
error.codeThe error code returned by SMB when the fetch of a file fails.
error.messageThe error message returned by SMB when the fetch of a file fails.

See also