FetchBoxFile 2.0.0

Bundle
org.apache.nifi | nifi-box-nar
Description
Fetches files from a Box Folder. Designed to be used in tandem with ListBoxFile.
Tags
box, fetch, storage
Input Requirement
REQUIRED
Supports Sensitive Dynamic Properties
false
  • Additional Details for FetchBoxFile 2.0.0

    FetchBoxFile

    Fetch Box files in NiFi

    1. Find File ID
      Usually FetchBoxFile is used with ListBoxFile and ‘box.id’ is set.

      In case ‘box.id’ is not available, you can find the ID of the file in the following way:

      • Click on the file.
      • The URL in the browser will include the File ID.
        For example, if the URL were https://app.box.com/file/1012106094023?s=ldiqjwuor2vwdxeeap2rtcz66dql89h3,
        the File ID would be 1012106094023
    2. Set File ID in ‘File ID’ property

Properties
Relationships
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.
Reads Attributes
Name Description
box.id The id of the file
Writes Attributes
Name Description
box.id The id of the file
filename The name of the file
path The folder path where the file is located
box.size The size of the file
box.timestamp The last modified time of the file
error.code The error code returned by Box
error.message The error message returned by Box
See Also