or better {{=A('terms of service',_href=URL(r=request,c='static',f='cms/files/ tos_fitwise.pdf',vars=dict(attachment=True)))}}
On Jun 8, 1:23 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > try > > {{=A('terms of service',_href=URL(r=request,c='static',f='cms/files/ > tos_fitwise.pdf?attachment'))}} > > On Jun 8, 1:02 pm, annet <annet.verm...@gmail.com> wrote: > > > In a view I have a link which should enable users to download the > > terms of service: > > > {{=A('terms of service',_href=URL(r=request,c='static',f='cms/files/ > > tos_fitwise.pdf'))}} > > > This opens the tos in the browser window, whereas I would like them to > > be downloaded into the downloads folder on the users computer. Is that > > possible from within web2py? > > > Kind regards, > > > Annet.