Hi, thanks for the reply!
I tried to change the path format, the file extension, and change the path from C to my D-drive. But all that doesn't seem to work.
Thanks for the suggestion, but on this project one of the objectives that are given to me is to create a .csv or .xlsx file from the node-red. Do you mind trying my flow and see whether there is a problem? this is my flow as of now.
[{"id":"ee64ddc4.82773","type":"tab","label":"Flow 3","disabled":false,"info":""},{"id":"f4ed7228.1727","type":"inject","z":"ee64ddc4.82773","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":160,"y":140,"wires":[["d3c27fc0.e81ec"]]},{"id":"d3c27fc0.e81ec","type":"moment","z":"ee64ddc4.82773","name":"","topic":"","input":"","inputType":"msg","inTz":"Asia/Jakarta","adjAmount":"0","adjType":"hours","adjDir":"add","format":"DD.MM.YYYY HH:mm","locale":"en_gb","output":"","outputType":"msg","outTz":"Asia/Jakarta","x":360,"y":140,"wires":[["3839708f.ea64a","a44f5.508d8b0b8"]]},{"id":"3839708f.ea64a","type":"debug","z":"ee64ddc4.82773","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":570,"y":240,"wires":[]},{"id":"c1158bc0.daaa38","type":"file","z":"ee64ddc4.82773","name":"TestNodered","filename":"\\Users\\Aldryan Minanto\\Documents\\TestNodered.csv","appendNewline":true,"createDir":true,"overwriteFile":"false","encoding":"utf8","x":830,"y":140,"wires":[["c7cbf44b.daef48"]]},{"id":"c7cbf44b.daef48","type":"debug","z":"ee64ddc4.82773","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1010,"y":240,"wires":[]},{"id":"a44f5.508d8b0b8","type":"csv","z":"ee64ddc4.82773","name":"","sep":",","hdrin":"","hdrout":"none","multi":"one","ret":"\\r\\n","temp":"Time","skip":"0","strings":true,"include_empty_strings":false,"include_null_values":false,"x":630,"y":140,"wires":[["c1158bc0.daaa38","a1f60d30.79f07"]]},{"id":"a1f60d30.79f07","type":"debug","z":"ee64ddc4.82773","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":790,"y":240,"wires":[]}]
Or maybe if you have a similar flow, do you mind sharing it? thank you again for the help!