Skip to main content

PutDropbox

Description

Puts content to a Dropbox folder.

Tags

dropbox, put, storage

Properties

In the list below required Properties are shown with an asterisk (*). Other properties are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

Display NameAPI NameDefault ValueAllowable ValuesDescription
Dropbox Credential Service *dropbox-credential-serviceController Service:
DropboxCredentialService

Implementations:
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, using FlowFile attributes and Environment variables.
Filename *file-name${filename}The full name of the file to upload.

Supports Expression Language, using FlowFile attributes and Environment variables.
Conflict Resolution Strategy *conflict-resolution-strategyfail
  • fail
  • ignore
  • replace
Indicates what should happen when a file with the same name already exists in the specified Dropbox folder.
Chunked Upload Thresholdchunked-upload-threshold150 MBThe 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 Sizechunked-upload-size8 MBDefines 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 Serviceproxy-configuration-serviceController Service:
ProxyConfigurationService

Implementations:
StandardProxyConfigurationService
Specifies the Proxy Configuration Controller Service to proxy network requests. Supported proxies: HTTP + AuthN

Dynamic Properties

This component does not support dynamic properties.

Relationships

NameDescription
failureFiles that could not be written to Dropbox for some reason are transferred to this relationship.
successFiles that have been successfully written to Dropbox are transferred to this relationship.

Reads Attributes

NameDescription
filenameUses the FlowFile's filename as the filename for the Dropbox object.

Writes Attributes

NameDescription
dropbox.idThe Dropbox identifier of the file
dropbox.revisionRevision of the file
dropbox.sizeThe size of the file
dropbox.timestampThe server modified time of the file
error.messageThe error message returned by Dropbox
filenameThe name of the file
pathThe folder path where the file is located

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

This component does not specify system resource considerations.

See Also

FetchDropbox, ListDropbox