Currently the only way to achieve this is: 1) move the file after has been uploaded 2) write your own download controller so that file can be retrieved.
On Sep 16, 3:52 pm, weheh <[email protected]> wrote: > Has anyone successfully been able to store and retrieve uploaded files > in a place other than applications/myapp/uploads? A subdirectory under > uploads is OK. I want to store user files in applications/myapp/ > uploads/userid/file.jpg or some variant of that, and then enable users > to also download their files. I believe that the download function > will need to be modified to accomplish this, but it's not clear to me > how to do it. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

