using core_files\converter with temporary (not stored) files?

using core_files\converter with temporary (not stored) files?

by Dom Royko -
Number of replies: 0
Picture of Plugin developers

Here is my scenario:  I have some generated html output that I would like to convert to rtf for the user to download.  The data is disposable, so if I save to disk I will just delete it after I'm done.  I would like to use the core converter, but it seems to be geared towards files that will be sticking around.  This seems like a lot of overhead for my temporary data.  What is my best approach?

Moodle 3.4


Thanks,

Dominik.


Average of ratings: -