Binary Objects to Files

This node takes all binary objects in a certain column of the input table and writes them, each as a separate file, into a directory. It will append the paths of the written files to the input table as well as the corresponding write status (created, unmodified, overwritten).

This node can access a variety of different file systems. More information about file handling in KNIME can be found in the official File Handling Guide.

Options

Binary object
Column containing the binary objects to write.
Remove binary object column
If checked, the column containing the binary objects is removed from the output table.
Compress binary object files (gzip)
If checked, the output binary files will be compressed to gzip.
File generation mode
Select how output file names should be determined.
  • Generate: Generate file names using a pattern with an incrementing counter.
  • From column: Use file names from a selected column.
File names
The file names will be generated using the provided pattern. The pattern must contain a single "?" symbol. This symbol will, during execution, be replaced by an incrementing counter to make the filenames unique. This node does not append any file extension.
File name column
Column containing the file names under which the corresponding binary file will be stored.
Folder
The folder to write the binary object files to.
Create missing folders
If enabled, missing folders in the specified path will be created automatically.
If exists
Specify the behavior of the node in case the output file already exists.
  • Fail: Will issue an error during the node's execution (to prevent unintentional overwrite).
  • Overwrite: Will replace any existing file.
  • Ignore: Will ignore if a file already exists and continues the copying process.

Input Ports

Icon
Table that contains binary objects.
Icon
The file system connection.

Output Ports

Icon
Input table with an additional path column that contains the paths of the written files, as well as another String column which holds the write status (created, unmodified, overwritten). The original binary object column is removed from the output if the option to remove is checked.

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.