Save File Locally

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
Save all files in parent folder
If checked, then the file path folder is assumed to contain sub-paths, or simply filenames, and will be relative to the indicated parent folder
Parent Directory
The optional parent folder to save files in
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

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

Output Ports

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

Popular Predecessors

  • Column Filter6 %
  • GroupBy6 %
  • Table Creator4 %
  • Row Filter4 %
  • Java Snippet3 %
  • String Manipulation3 %
  • Excel Reader (XLS)3 %
  • Load text-based files2 %
  • Table Row To Variable Loop Start2 %
  • Column Appender2 %
  • Table View2 %
  • Transfer Files2 %
  • Path to String2 %
  • GET Request2 %
  • Call Remote Workflow2 %
  • String to URI2 %
  • Variable to Table Column2 %
  • URL to File Path2 %
  • String to Path (Variable)2 %
  • Table Row to Variable1 %
  • Concatenate1 %
  • PDB Downloader1 %
  • Java Snippet (simple)1 %
  • SDF Extractor1 %
  • List Files< 1 %
  • Cross Joiner< 1 %
  • Excel Reader (XLS)< 1 %
  • Load Text Files< 1 %
  • Download / Upload from List< 1 %
  • Pivoting< 1 %
  • R Snippet< 1 %
  • Reaction Converter< 1 %
  • Create Directory (legacy)< 1 %
  • Column Expressions< 1 %
  • JSON Transformer< 1 %
  • Database Reader (legacy)< 1 %
  • Loop End< 1 %
  • Column Aggregator< 1 %
  • Constant Value Column< 1 %
  • Joiner< 1 %
  • Column Rename< 1 %
  • RowID< 1 %
  • Column Splitter< 1 %
  • String Replacer< 1 %
  • Cache< 1 %
  • OpenBabel< 1 %
  • Document Data Extractor< 1 %
  • Document Data Extractor< 1 %
  • Strings To Document< 1 %
  • File Upload< 1 %
  • Python Script (2⇒2)< 1 %
  • HTTP Result Data Extractor< 1 %
  • HTML Parser< 1 %
  • Split by Structure< 1 %
  • PDB Saver< 1 %
  • URL Encode< 1 %
  • PLANTS configuration generator< 1 %
  • Download Files with Authentication< 1 %
  • Create File Name< 1 %
  • File Reader< 1 %
  • Recursive Loop Start< 1 %
  • Cell Splitter< 1 %
  • Cell Splitter< 1 %
  • Number To String< 1 %
  • Top k Selector< 1 %
  • Rule-based Row Splitter< 1 %
  • Molecule Type Cast< 1 %
  • Tika Parser< 1 %
  • POS tagger< 1 %
  • String Input< 1 %
  • XML To JSON< 1 %
  • JSON Path< 1 %
  • GraphCut 2D< 1 %
  • EasterEgg< 1 %
  • Call Workflow (Table Based)< 1 %
  • Python Script (2?1)< 1 %
  • POST Request< 1 %
  • StringCell To File< 1 %
  • Molecular Properties< 1 %
  • Bash< 1 %
  • RDKit Interactive Table< 1 %
  • Web Page Content Extractor< 1 %
  • Desmond Trajectory Extract Frames< 1 %
  • Save File Locally< 1 %
  • Copy/Move Files (legacy)< 1 %
  • Variable to Table Column< 1 %
  • Table Row to Variable< 1 %
  • Line Reader< 1 %
  • Column Combiner< 1 %
  • Column Merger< 1 %
  • Normalizer< 1 %
  • Sorter< 1 %
  • Molfile Reader< 1 %
  • Webpage Retriever< 1 %
  • Salesforce Simple Query< 1 %
  • String to Date&Time< 1 %
  • String To XML< 1 %

Popular Successors

  • Container Output (Raw HTTP)7 %
  • Variable to Table Column6 %
  • Copy/Move Files (legacy)6 %
  • Chunk Loop Start6 %
  • CSV Writer6 %
  • Show all 48 recommendations

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.