Fetches files from Dropbox. Designed to be used in tandem with ListDropbox.
dropbox, storage, 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 |
|---|---|---|---|---|
| Dropbox Credential Service | dropbox-credential-service | Controller Service API: DropboxCredentialService Implementation: StandardDropboxCredentialService | Controller Service used to obtain Dropbox credentials (App Key, App Secret, Access Token, Refresh Token). See controller service's Additional Details for more information. | |
| File | file | ${dropbox.id} | The Dropbox identifier or path of the Dropbox file to fetch. The 'File' should match the following regular expression pattern: /.*|id:.* . When ListDropbox is used for input, either '${dropbox.id}' (identifying files by Dropbox id) or '${path}/${filename}' (identifying files by path) can be used as 'File' value. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) | |
| Proxy Configuration Service | proxy-configuration-service | Controller Service API: ProxyConfigurationService Implementation: StandardProxyConfigurationService | Specifies the Proxy Configuration Controller Service to proxy network requests. Supported proxies: HTTP + AuthN |
| Name | Description |
|---|---|
| success | A FlowFile will be routed here for each successfully fetched File. |
| failure | A FlowFile will be routed here for each File for which fetch was attempted but failed. |
| Name | Description |
|---|---|
| error.message | The error message returned by Dropbox |
| dropbox.id | The Dropbox identifier of the file |
| path | The folder path where the file is located |
| filename | The name of the file |
| dropbox.size | The size of the file |
| dropbox.timestamp | The server modified time of the file |
| dropbox.revision | Revision of the file |