Path to URI

This node generates a URI for each path in a path column. The supported URI formats are specific to each file system. The URI format to use can be configured in the node dialog. Examples for URI formats are:
  • file:// URLs (supported by the "Local file system").
  • presigned https:// URLs (supported by the "Amazon S3 Connector").
  • knime:// URLs (supported by the "Mountpoint" and "Relative to" file systems).

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

Input column
The column containing the Paths to the files/folders for which to generate URIs.
Fail if file/folder does not exist
If selected, each Path in the input column will be checked for its existence and the node will fail if the Path does not exist. If not selected, this check will not be performed, but the node might nevertheless fail if the selected URI format requires the Path to exist.
Fail on missing values
If selected, the node will fail if the selected column contains missing values.
Output mode
Choose how to output the generated URI column.
  • Append: Append a new URI column to the table with the given name.
  • Replace: Replace the selected input column with the new URI column.
Output column name
The name of the new URI column to be appended to the output table.
Format
A list of available URI formats. If the File System Connection input port is connected, then the list is determined by that file system. Otherwise, the list is determined by the file system(s) of the Path values in the chosen input column. At any time, a brief explanation is displayed for the currently selected format.
Format settings
Some URI formats require additional configuration so that URIs can be generated.

Input Ports

Icon
Table that contains a Path column.
Icon
The file system connection.

Output Ports

Icon
Input table with either a new URI column appended, or the Path column replaced by a URI column.

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.