Forum OpenACS Q&A: Saving a file in File Storage

Collapse
Posted by Juan Carlos on
I'm creating a .csv file from the data of a list template. However, i need to save this file to the file storage during the program excecution. ¿How can a I do that?
Collapse
Posted by Brian Fenton on
Not quite what you want but should be enough to give you a start. Note the call to cr_create_content_file. If you grep through the OpenACS source there should be examples of this.

https://openacs.org/api-doc/proc-view?proc=cr_import_content&source_p=1