Icon

KNIME_​Network_​path_​to_​file_​reader

Demonstration workflow of how File Reader fails to execute when given a file location string containing a network share, even though it can preview it ok

If the file path flow variable is a networklocation, the File Reader preview works,but execution fails:"Cannot create URL..." If the file path flow variable is a networklocation, it must be converted to a URL (using String to URI) before it can bemade to work with File Reader atexecution time. Read the fileConvert String to URIFetch the variableinto a tableConvert back to variableConfigure this and enterthe network path of a file to be read by File ReaderRead the file File Reader String to URI Variable toTable Row Table Rowto Variable Java EditVariable (simple) File Reader If the file path flow variable is a networklocation, the File Reader preview works,but execution fails:"Cannot create URL..." If the file path flow variable is a networklocation, it must be converted to a URL (using String to URI) before it can bemade to work with File Reader atexecution time. Read the fileConvert String to URIFetch the variableinto a tableConvert back to variableConfigure this and enterthe network path of a file to be read by File ReaderRead the fileFile Reader String to URI Variable toTable Row Table Rowto Variable Java EditVariable (simple) File Reader

Nodes

Extensions

Links