IconSave File Locally0 ×

StreamableVernalis custom KNIME nodes package version 1.12.0.v201708101336 by Vernalis (R&D), UK

This node saves a copy of the text files held in a table column to filepaths held in a second column.
A rudimentary attempt is made to validate the filepaths - which must be complete paths, e.g. C:\Temp\myfile.txt If the full folder path does not exist, an attempt is made to create it.
The returned column will contain a missing value if either of the input columns is a missing value, 'true' if the file was successfully written, and 'false' if it was not written (i.e. because overwrite was set to off, and the file existed, or because the directory could not be created or was not a valid path)
This node can be used to create txt files, or save pdb, mol, mol2 files etc. by providing an appropriate filepath and extension.

Options

Select a column name containing the file cells
The column containing the content to be written to the file
Enter name of column for file paths
The column containing the full path to the output files
Overwrite files
If checked, existing files are overwritten without warning
Enter name of column for save successful flag
The name of a column for the outcome to be put in

Input Ports

The input table containing a column with text and a column with filepaths

Output Ports

The input table with a boolean column indicating the outcome of local save added

Best Friends (Incoming)

Best Friends (Outgoing)

Update Site

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