You can return response.stream(filelikeobject,chunk_size=64*1024)
On Sep 30, 11:50 pm, encompass <[email protected]> wrote: > I am creating a file (pdf actually) that is being generating in > memory. > I could save it and then grab it, but we all know there has to be a > better way. How do I make a file like object downloadable with > web2py? > Regards, > Jason --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

