I have a app to sell items that store the information in Firebase
but at the end of the order I need to generate a .txt file with the articles and properties
example
I have in firebase
Articles and inside I have color, price, quantity, code and I need the file to be generated from a button in the following way
File Articles.txt and inside
red, 12.50,5,764646
blue, 10.00,4,767126
green, 9.00,1,767676
yellow, 25.00,2,764545
and then save it in FTP