0 ×

Binary Objects to Files

KNIME File Handling Nodes version 4.3.1.v202101261633 by KNIME AG, Zurich, Switzerland

This node supports the path flow variable. For further information about file handling in general see the File Handling Guide.

This node writes binary objects to files. It will append the paths of binary files to the input table as well as the corresponding write status (created, unmodified, overwritten).

Options

Binary object
Options for selecting a column with binary data from input table. And whether the original binary column should be included in the output.
  • Column: Column containing the binary objects to write.
  • Remove column: If checked the column containing the binary objects is removed from the output table.
File names
Select an option for the binary file names, by default files will be generated using "File_?.dat" pattern. There are two options to choose from.
  • Generate: The 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.
  • From column: Allows to select a column containing the filenames under which the corresponding binary object has to be stored.
Write to
Select a file system which stores the files you want to generate. There are three default file system options to choose from:
  • Local File System: Allows you to select a file/folder from your local system.
  • Mountpoint: Allows you to read from a mountpoint.When selected, a new drop-down menu appears to choose the mountpoint. Unconnected mountpoints are greyed out but can still be selected (note that browsing is disabled in this case). Go to the KNIME Explorer and connect to the mountpoint to enable browsing. A mountpoint is displayed in red if it was previously selected but is no longer available. You won't be able to save the dialog as long as you don't select a valid i.e. known mountpoint.
  • Relative to: Allows you to choose whether to resolve the path relative to the current mountpoint, current workflow or the current workflow's data area. When selected a new drop-down menu appears to choose which of the three options to use.
Folder
The directory where the files will be put.
Create missing folders
Select if the folders of the selected output location should be created if they do not already exist. If this option is unchecked, the node will fail if a folder does not exist.
If exists
Specifies the behavior if one of the files already exists.
Overwrite
Overwrite the existing file.
Ignore
Will ignore if a file already exists and skip the writing process for this particular binary object / file.
Fail
Will issue an error during the node's execution (to prevent unintentional overwrite).

Input Ports

Icon
Table that contains the binary objects that will be written to files.

Output Ports

Icon
The input table containing two additional columns. The one containing the path to the just written binary files and the other encodes the corresponding write status (created, unmodified, overwritten). If remove column has been checked the selected binary object column is removed from the output.

Workflows

Installation

To use this node in KNIME, install KNIME Basic File System Connectors from the following update site:

KNIME 4.3

A zipped version of the software site can be downloaded here.

You don't know what to do with this link? Read our NodePit Product and Node Installation Guide that explains you in detail how to install nodes to your KNIME Analytics Platform.

Wait a sec! You want to explore and install nodes even faster? We highly recommend our NodePit for KNIME extension for your KNIME Analytics Platform. Browse NodePit from within KNIME, install nodes with just one click and share your workflows with NodePit Space.

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.