c3DL() and c3CSV()


Console functions c3DL and c3CSV can download text or objects from the console.


Can I pass in the file name, so that the downloaded file’s name is not random?


Any updates on this? I met the same issue.


c3DL’s third option specifies a file name:

c3DL(content, 'text/plain', 'file.txt');

c3CSV doesn’t have that option, but you could try building the CSV and then using c3DL:

c3DL(DataFrame.csv(content), 'text/csv', 'file.csv');