General developer forum

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

 
Picture of Dom Royko
using core_files\converter with temporary (not stored) files?
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: -