OK... So this works with a few issues...
[{"id":"98261154.3006","type":"http response","z":"b749c94d0e4ba00b","name":"","statusCode":"","headers":{},"x":510,"y":100,"wires":[]},{"id":"34dc99e5.495466","type":"file in","z":"b749c94d0e4ba00b","name":"","filename":"/tmp/test.dmp","filenameType":"str","format":"","chunk":false,"sendError":false,"encoding":"none","allProps":false,"x":340,"y":80,"wires":[["98261154.3006"]]},{"id":"38d65d59.1d8aa2","type":"catch","z":"b749c94d0e4ba00b","name":"Download","scope":null,"uncaught":false,"x":100,"y":140,"wires":[["5b18a8e7.fb8da8"]]},{"id":"5b18a8e7.fb8da8","type":"debug","z":"b749c94d0e4ba00b","name":"Message","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":240,"y":140,"wires":[]},{"id":"67ecfa7f.3f0e24","type":"http in","z":"b749c94d0e4ba00b","name":"","url":"/tmp/test.dmp","method":"get","upload":false,"swaggerDoc":"","x":130,"y":100,"wires":[["34dc99e5.495466"]]},{"id":"a8c2985e.d23ad8","type":"ui_template","z":"b749c94d0e4ba00b","group":"dfb4a60f.d788f8","name":"Download","order":0,"width":0,"height":0,"format":"<div >\n <a class=\"button\" href=\"/tmp/test.dmp\">Test</a>\n</div>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":false,"templateScope":"local","className":"","x":100,"y":60,"wires":[[]]},{"id":"dfb4a60f.d788f8","type":"ui_group","name":"Data Export","tab":"48418b79.0f5834","order":1,"disp":true,"width":"12"},{"id":"48418b79.0f5834","type":"ui_tab","name":"Dashboard","icon":"dashboard","order":1}]
Question... How do I get a 'known' file type to download, say a txt file, and not have the browser try to handle it, for example, a txt (text file) the browser will likely try to open the text file if setup to do so... I always want the file to go to an actual file. I want to say you have the change the MINE type?
Question... for some reason, even with a set the class type, I get a link not a button? I happen to be using Firefox, but I can't see that is being material to the class not being honored?