Icon

Test_​File_​Upload_​Widget

You first have to set a default path and file in the File Upload Widget. In our case: "R:\\Ron\\Example Data Screen Tools\\ST_06_Sort_A01_AF48\\AllPlates_A01AA01B01.csv"If you run this workflow with the default path setting, the file is saved in the new path "R:\\Ron\\Example Data ScreenTools\\ST_06_Sort_A01_AF48\\Sorted\\AllPlates_A01AA01B01.csv"In the Flow Variable "file-upload-input" is the selected path and file "R:\\Ron\\Example Data Screen Tools\\ST_06_Sort_A01_AF48\\AllPlates_A01AA01B01.csv"The seccond time you run the workflow and don't choose the default file, but choose an other file in the "File UploadWidget".Fi you choose the file "R:\\Ron\\Example Data Screen Tools\\ST_06_Sort_A01_AF48\\Testfile.csv" .In the Flow Variable "file-upload-input" is the selected path and file "C:\Users\Ron\Appdata\Local\knime_Test_fileUpload24786\Testfile23483298.csv" instead of the expected "R:\\Ron\\Example Data Screen Tools\\ST_06_Sort_A01_AF48\\Testfile.csv"So it looks like the temp path of the file is in the Flow variable instead of the real path.How to solve this. Change FilenameWrite CSV file1536 wellswrong orderNode 1476 String Manipulation(Variable) CSV Writer(deprecated) CSV Reader(deprecated) File Upload Widget You first have to set a default path and file in the File Upload Widget. In our case: "R:\\Ron\\Example Data Screen Tools\\ST_06_Sort_A01_AF48\\AllPlates_A01AA01B01.csv"If you run this workflow with the default path setting, the file is saved in the new path "R:\\Ron\\Example Data ScreenTools\\ST_06_Sort_A01_AF48 \\Sorted\\AllPlates_A01AA01B01.csv"In the Flow Variable "file-upload-input" is the selected path and file "R:\\Ron\\Example Data Screen Tools\\ST_06_Sort_A01_AF48\\AllPlates_A01AA01B01.csv"The seccond time you run the workflow and don't choose the default file, but choose an other file in the "File UploadWidget".Fi you choose the file "R:\\Ron\\Example Data Screen Tools\\ST_06_Sort_A01_AF48\\Testfile.csv" .In the Flow Variable "file-upload-input" is the selected path and file "C:\Users\Ron\Appdata\Local\knime_Test_fileUpload24786\Testfile23483298.csv" instead of the expected "R:\\Ron\\Example Data Screen Tools\\ST_06_Sort_A01_AF48\\Testfile.csv"So it looks like the temp path of the file is in the Flow variable instead of the real path.How to solve this. Change FilenameWrite CSV file1536 wellswrong orderNode 1476 String Manipulation(Variable) CSV Writer(deprecated) CSV Reader(deprecated) File Upload Widget

Nodes

Extensions

Links