You can read files, not directories.

You don't need to manually do this, you can
just reference the directory with the static directive in app.yaml.

You won't be able to present a list of files this way.
Though because you can only add files in your dev environment you know
them
all of them exist already, so you could create a static html page with
links to all
of the static files in the directory and then upload that when the app
is deployed.

Making gae a static html server isn't really super appropriate  ;-)

T




On Apr 11, 12:40 am, James Zhang <maxxxf...@gmail.com> wrote:
> Hello, May I ask a question ?
>
> Just like the function readdir() under Linux, Can I read the directory
> structure and the sub directory recursively in App Engine file
> system . So I can publish the file link in HTML.
>
> Thank you for your help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to