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.

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

Icon
A string flow variable containing the url string to convert.

Output Ports

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

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.