Puts content to a Dropbox folder.
dropbox, storage, put
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. | |
| Folder | folder | / | The path of the Dropbox folder to upload files to. The folder will be created if it does not exist yet. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) | |
| Filename | file-name | ${filename} | The full name of the file to upload. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) | |
| Conflict Resolution Strategy | conflict-resolution-strategy | fail |
| Indicates what should happen when a file with the same name already exists in the specified Dropbox folder. |
| Chunked Upload Threshold | chunked-upload-threshold | 150 MB | The maximum size of the content which is uploaded at once. FlowFiles larger than this threshold are uploaded in chunks. Maximum allowed value is 150 MB. | |
| Chunked Upload Size | chunked-upload-size | 8 MB | Defines the size of a chunk. Used when a FlowFile's size exceeds 'Chunked Upload Threshold' and content is uploaded in smaller chunks. It is recommended to specify chunked upload size smaller than 'Chunked Upload Threshold' and as multiples of 4 MB. Maximum allowed value is 150 MB. | |
| 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 | Files that have been successfully written to Dropbox are transferred to this relationship. |
| failure | Files that could not be written to Dropbox for some reason are transferred to this relationship. |
| Name | Description |
|---|---|
| filename | Uses the FlowFile's filename as the filename for the Dropbox object. |
| 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 |