Does https://github.com/moschlar/SAUCE/blob/develop/sauce/controllers/submissions.py#L374 inspire you? ;)
Am Freitag, 12. Juli 2013 13:44:48 UTC+2 schrieb betelgeuse: > > Hello, > > I have some files not in public directory but in another directory for > authenticated users. > How can I make the users download the files? > > I need some controller method like this: > > expose() > def download_file(file_name): > make some checks here. > ... > return file from private directory. > > > any example or documentation? > > > > -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/turbogears. For more options, visit https://groups.google.com/groups/opt_out.

