Every time I run the WF, csv files will be created on the KNIME server in WF location. I need to delete the files after n days, To achieve the delete functionality I need to create a WF to delete the files in WF repo and schedule it to run on certain time.
I had below nodes
1. List Files
with URL - knime://knime.workflow/…/…/FileDownload_WF/Results/ and get the list of files with URL
Examle URL : knime://knime.workflow/…/…/FileDownload_WF/Results/2020-01-01/test.csv.
To pass the URL to Delete Files node I need to convert the file URL to Path in server.
Can someone please suggest how to get the path of a file in knime-server?
PS: String to Path, URL to Path node will work only in local not with server url’s