Dear massimo;

Thanks now i got it working. What i am doing is a  directory listing of the
download folder.

Where is a good place to put files thats for download purpose only? Static ?
I put it there.


I will check appadmin.py.

On Sat, Oct 11, 2008 at 9:53 PM, mdipierro <[EMAIL PROTECTED]> wrote:

>
> 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 [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