The following node is available in the Open Source KNIME predictive analytics and data mining platform version 2.7.1. Discover over 1000 other nodes, as well as enterprise functionality at http://knime.com.

URL to File Path (Variable)

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.

Dialog 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.

Ports

Input Ports
0 A string flow variable containing the url string to convert.
Output Ports
0 Four additional string flow variables containing the file path, parent folder, the file name, and the file extension.
This node is contained in KNIME Base Nodes provided by KNIME GmbH, Konstanz, Germany.