Fetches files from a SMB Share. Designed to be used in tandem with ListSmb.
samba, smb, cifs, files, fetch
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Display Name | API Name | Default Value | Allowable Values | Description |
---|---|---|---|---|
SMB Client Provider Service | smb-client-provider-service | Controller Service API: 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) |
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. |
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. |