Upload file into server from local

I want to dynamically browse a file and upload that file into my server from any location in local from KNIME WebPortal .
I tried with File Upload Widget but facing an issue of File not Found when we call it from KNIME WebPortal.
In a component I have placed the File upload widget node and after, reading it from respective reader nodes and writing it into the server .
It is working fine while running it in LOCAL .
I need the solution as soon.

Hi @SA20276736,
You are probably linking a default file in your File Upload Widget configuration and use an absolute path there. This does not work as of course on the server this file path does not exist. Instead, it is best if you put the default file into your workflow’s data folder and then link to it by using this as default file:

knime://knime.workflow/data/yourfile.txt

Kind regards,
Alexander

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.