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¶
| Property | Description |
|---|---|
| Completion Strategy | Specifies 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 Directory | Specifies whether or not the remote directory should be created if it does not exist. |
| Destination Directory | The directory on the remote server to move the original file to once it has been processed. |
| remote-file | The full path of the file to be retrieved from the remote server. Expression language is supported. |
| smb-client-provider-service | Specifies the SMB client provider to use for creating SMB connections. |
Relationships¶
| Name | Description |
|---|---|
| failure | A FlowFile will be routed here when failed to fetch its content. |
| success | A FlowFile will be routed here for each successfully fetched file. |
Writes attributes¶
| Name | Description |
|---|---|
| error.code | The error code returned by SMB when the fetch of a file fails. |
| error.message | The error message returned by SMB when the fetch of a file fails. |