FetchDropbox

Description:

Fetches files from Dropbox. Designed to be used in tandem with ListDropbox.

Tags:

dropbox, storage, fetch

Properties:

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 NameAPI NameDefault ValueAllowable ValuesDescription
Dropbox Credential Servicedropbox-credential-serviceController 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.
Filefile${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 Serviceproxy-configuration-serviceController Service API:
ProxyConfigurationService
Implementation: StandardProxyConfigurationService
Specifies the Proxy Configuration Controller Service to proxy network requests. Supported proxies: HTTP + AuthN

Relationships:

NameDescription
successA FlowFile will be routed here for each successfully fetched File.
failureA FlowFile will be routed here for each File for which fetch was attempted but failed.

Reads Attributes:

None specified.

Writes Attributes:

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

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:

PutDropbox, ListDropbox