Write a simple text / HTML file
How can I write a variable (or a table with only one column and one row) to a textfile?
I have a table which I want to output as an HTML file to a webserver.
The table → HTML part is solved (e.g., Table to HTML String – KNIME Community Hub and/or doing it myself). I only need a way to write the string to a file.
I know about Table to HTML – KNIME Community Hub, but the result is ugly and I can not configure it.
I tried to use the CSV writer, but it needs a column separation character. If this character appears anywhere in the file, it starts escaping it etc.
A simple “line writer” node would also be nice for other purposes, like writing a logfile, etc.
I could use a JAVA node to write the file, but I could not figure out how to use filesystem connectors from within the JAVA node.