PutBoxFile 2025.10.9.21

Bundle

org.apache.nifi | nifi-box-nar

Description

Puts content to a Box folder.

Tags

box, put, storage

Input Requirement

REQUIRED

Supports Sensitive Dynamic Properties

false

Properties

PropertyDescription
Box Client ServiceController Service used to obtain a Box API connection.
Chunked Upload ThresholdThe maximum size of the content which is uploaded at once. FlowFiles larger than this threshold are uploaded in chunks. Chunked upload is allowed for files larger than 20 MB. It is recommended to use chunked upload for files exceeding 50 MB.
Conflict Resolution StrategyIndicates what should happen when a file with the same name already exists in the specified Box folder.
Create SubfolderSpecifies whether to check if the subfolder exists and to automatically create it if it does not. Permission to list folders is required.
FilenameThe name of the file to upload to the specified Box folder.
Folder IDThe ID of the folder where the file is uploaded. Please see Additional Details to obtain Folder ID.
Subfolder NameThe name (path) of the subfolder where files are uploaded. The subfolder name is relative to the folder specified by ‘Folder ID’. Example: subFolder, subFolder1/subfolder2

Relationships

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

Writes attributes

NameDescription
box.idThe id of the file
filenameThe name of the file
pathThe folder path where the file is located
box.sizeThe size of the file
box.timestampThe last modified time of the file
error.codeThe error code returned by Box
error.messageThe error message returned by Box

See also