0 ×

String to Path

StreamableKNIME Filehandling Nodes version 4.3.2.v202103021015 by KNIME AG, Zurich, Switzerland

This node converts a selected String column into a column of the type Path.

For further information about file handling in general see the File Handling Guide.

Options

File system
Select the file system to which the created paths should be related to. There are four default file system options to choose from:
  • Local File System: Resolve the path to your local file system.
  • Mountpoint: Resolves the path to a mountpoint. When selected, a new drop-down menu appears to choose the mountpoint. Unconnected mountpoints are grayed out but can still be selected. 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: 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.
  • Custom/KNIME URL: Resolve the paths to a URL (e.g. file://, http:// or knime:// protocol). When selected, a spinner appears that allows you to specify the desired connection and write timeout in milliseconds..
It is possible to use other file systems with this node. Therefore, you have to enable the file system connection input port of this node by clicking the ... in the bottom left corner of the node's icon and choose Add File System Connection port.
Afterwards, you can simply connect the desired connector node to this node. The file system connection will then be shown in the drop-down menu. It is grayed out if the file system is not connected in which case you have to (re)execute the connector node first. Note: The default file systems listed above can't be selected if a file system is provided via the input port.
Column selection
Column that will be converted. It has to contain a string with correct Path /foo/bar.txt syntax.
Fail if file/folder does not exist
Checks if the files or folders referenced by the created Paths are existing and will abort if one is not.
Fail on missing values
If selected the node will fail if the selected column contains missing values.
Output
  • Append column: Append the new column to the table with the selected column name.
  • Replace: Replace the selected column with the new Path column.
New column name
Name of the appended column.

Input Ports

Icon
Table that contains a String column with path information.

Output Ports

Icon
Input table with the corresponding Path column to the selected column. It will either be appended or replacing the old column, depending on the configuration.

Workflows

Installation

To use this node in KNIME, install KNIME Base nodes 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.