mmh, thank you Selecta but I think I did not understand that.
Could you point me to one of the past posts?
I do not want to store the original filename in my table, just to get
the decoded original filename (the one used by the download function
to set the disposition header).
I do not think your solution addresses that but maybe I am wrong
sorry.

On 7 Apr, 13:24, selecta <gr...@delarue-berlin.de> wrote:
> record = db.mytable[1]
> filename, file = db.mytable.myfile.retrieve(record.myfile)
> A('%s'%filename, _href = URL(request.application, 'default',
> 'download', args = record.myfile))
>
> i read the answer on this mailing list and i provided it to others
> like 50 times, this should go into the FAQ of web2py

Reply via email to