Simple Flow
[{"id":"436d07b6.730df","type":"tab","label":"Test","disabled":false,"info":""},{"id":"68cddff5.d3496","type":"ui_table","z":"436d07b6.730df","group":"5bf85515.163b74","name":"Test","order":15,"width":"14","height":"2","columns":[{"field":"Link","title":"Link","width":"","align":"left","formatter":"link","formatterParams":{"target":"_blank"}},{"field":"Local","title":"Local File","width":"","align":"left","formatter":"html","formatterParams":{"target":"_blank"}}],"outputs":1,"cts":true,"x":930,"y":240,"wires":[[]]},{"id":"e79d54f8.dfd26","type":"inject","z":"436d07b6.730df","name":"Go","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":510,"y":240,"wires":[["d91d55b4.c8faf"]]},{"id":"d91d55b4.c8faf","type":"function","z":"436d07b6.730df","name":"Rows","func":"msg.payload = [];\n\nvar row1 = {\n Link : \"http://www.google.com\",\n Local : \"<a href=\\\"file:///C:\\\\Temp\\\\File_1.txt\\\">File_1</a>\"\n};\n\nmsg.payload.push(row1);\n\n\nvar row2 = {\n Link : \"http://www.google.com\",\n Local : \"<a href=\\\"file:///C:\\\\Temp\\\\File_2.txt\\\">File_2</a>\"\n};\n\nmsg.payload.push(row2);\n\n\nreturn msg;","outputs":1,"noerr":0,"x":700,"y":240,"wires":[["68cddff5.d3496","3e3403e8.b7eeec"]]},{"id":"3e3403e8.b7eeec","type":"debug","z":"436d07b6.730df","name":"Rows","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":930,"y":160,"wires":[]},{"id":"5bf85515.163b74","type":"ui_group","z":"","name":"Default","tab":"83b20082.0c1de","disp":true,"width":"14","collapse":false},{"id":"83b20082.0c1de","type":"ui_tab","z":"","name":"Test","icon":"dashboard","disabled":false,"hidden":false}]
When I click on File_1 or File_2 , I need to download the files (from local HDD & Windows OS), without using httpStatic