Home:ALL Converter>Node RED: How to save data into a local csv file using file node and access it?

Node RED: How to save data into a local csv file using file node and access it?

Ask Time:2018-04-30T07:24:02         Author:yi luo

Json Formatter

I am a beginner to programming. The problem I have now is that I want to store the payload in NodeRED into a local csv file. The picture showed how I was trying to do.

Basically I created a file node, and entered my local directory with filename. But it either gave me the error 'cannot find such a directory or file', or I don't get the error but I don't know where to find the file either.

My guess is NodeRED could not access local file somehow..maybe the csv will be saved in the server but how could I access it?

enter image description here

Author:yi luo,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/50092228/node-red-how-to-save-data-into-a-local-csv-file-using-file-node-and-access-it
yy