SmbClientProviderService
Implementation: SmbjClientProviderService
Specifies the SMB client provider to use for creating SMB connections. | Remote File | remote-file | ${path}/${filename} | | The full path of the file to be retrieved from the remote server. Expression language is supported. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) |
Completion Strategy | Completion Strategy | None | - None
- Move File
- Delete File
| 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. |
Destination Directory | Destination Directory | | | The directory on the remote server to move the original file to once it has been processed. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)
This Property is only considered if the [Completion Strategy] Property has a value of "Move File". |
Create Destination Directory | Create Destination Directory | false | | Specifies whether or not the remote directory should be created if it does not exist.
This Property is only considered if the [Completion Strategy] Property has a value of "Move File". |
Relationships:
Name | Description |
---|
success | A FlowFile will be routed here for each successfully fetched file. |
failure | A FlowFile will be routed here when failed to fetch its content. |
Reads Attributes:
None specified.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. |
State management:
This component does not store state.Restricted:
This component is not restricted.Input requirement:
This component requires an incoming relationship.System Resource Considerations:
None specified.See Also:
ListSmb, PutSmbFile, GetSmbFile