razer456
02/21/2022, 10:22 AMDmitry Masanov
02/21/2022, 10:48 AMrazer456
02/21/2022, 10:57 AMDmitry Masanov
02/21/2022, 11:05 AMconst fileString = file.load({
id: 123456,
}).getContents();
Then you do with the string whatever you want, then you save it :
const fileObj = file.create({
name: `${fileName}.csv`,
fileType: file.Type.PLAINTEXT,
contents: someAnotherText,
});