How did the files get in there?
Not sure is this is what you are asking but you can do

os.listdir(os.jath.join(request.folder,'static'))

to get a listing.

there is a sample download action in appadmin.py

On Oct 11, 12:02 pm, "Phyo Arkar" <[EMAIL PROTECTED]> wrote:
> Dear Masimo;
>
> i am now making a file download site.
>
> Which store files in directories.
>
> WHat i would like to do is to allow list indexing of files under directory.
>
> How can i do it in web2py's cherrypy  (non apache /mod_wsgi)
>
> Or need to write a separate function?
>
> Regards,
>
> Phyo.
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to