I am a newbie with Node-Red.
I have a flow that create a csv file starting from the data contained in a payload from an instrument, save the csv in the local machine with a custom name (xxxx_datetime.csv) and should send it to an FTP server.
My problem is that once the file is created, the file I receive at the FTP server is empty.
It looks like that the file I create is not closed or something, becuase if I try the flow putting to the FTP server a previosly created file, I have no problem.
Could anyone suggest me a solution?
I'm using node-red-contrib-ftp node