assuming

  db.define_table('mytable',Field('myimage','upload'))

and a controller

  def download(): return response.download(request,db)

than the URL is

  http://hostname:port/[app]/[controller]/download/[filename]

and filename is the one stored in db.mytable.myimage, not the original
filename.

Massimo

On Jul 7, 5:12 pm, pk <peter.kirch...@youngdesigners.de> wrote:
> hi,
> how can i access to the url of a image which i load up in the table.
> because i have another application (not web2py) and read the table
> with xml.
> now i need to access to the file.
> thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to