http://.../myapp/static/files/mytable.name/xy/<long filename>?
attachment

notice the ?attachment after filename

On Jun 25, 11:38 pm, weheh <richard_gor...@verizon.net> wrote:
> I want to click on a link and have a jpeg or an mp3 file downloaded
> from the server to my local machine as though I had done a right-mouse-
> click and selected the "Save Link As ..." menu entry. In other words,
> when I click on the link I want to get a popup asking where to save
> the file. Any thoughts as to how to do this? My feeble attempts so far
> have failed miserably. The file is stored on the server under C:/
> web2py/applications/myapp/static/files/mytable.name/xy/<long filename>.

Reply via email to