Don't. This would break lots of stuff.

Instead create your own custom download function

def donwload2():
    row_id=request.args(0).split('.')[0]
    image = db.yourtable[row_id].image
    request.args=[image]
    return response.download(request,response,db)

On Jan 6, 12:40 am, Mikko <[email protected]> wrote:
> Hello,
>
> I have db table: SQLFIELD( row_id, string), SQLFIELD(image, upload)
>
> how do I make image name look like row_id + ".jpeg"?
>
> I'm now using SQLFORM.
-- 
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.


Reply via email to