0 ×

URL to File Path (Variable)

KNIME File Handling Nodes version 3.7.0.v201811132201 by KNIME AG, Zurich, Switzerland

Converts the url strings of the specified string flow variable into file path strings. Four string flow variables will be set. The first contains the complete file path, the second the parent folder of the file, the third contains the file name (without extension), and the last contains the file extension.
It can be specified whether the node will fail if an invalid url string occurs or a file location does not exist. If failing is switched off (default) empty strings will set as values for each output variable.

Options

Add prefix to variable identifiers
If checked, the name of the specified input variable is used as prefix for the names of the output variables.
Fail if URL has invalid syntax
If checked, node will fail if an invalid url string occurs, otherwise an empty string will be set as file path, parent folder, file name, and file extension variables.
Fail if file does not exist
If checked, node will fail if a file location does not exist, otherwise an empty string will set as file path parent folder, file name, and file extension variables.

Input Ports

A string flow variable containing the url string to convert.

Output Ports

Four additional string flow variables containing the file path, parent folder, the file name, and the file extension.

Best Friends (Incoming)

Best Friends (Outgoing)

Workflows

Update Site

To use this node in KNIME, install KNIME File Handling Nodes from the following update site:

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.