Actually yout problem is your trying to read a file outside of where
your application is.
You can't read files from some arbitrary path, it must be inside your
project.

I assume you projects top level directory is not d:

T

On Sep 12, 2:58 am, GuruDutta <guru.rg2...@gmail.com> wrote:
> Hi Tim,
>
> Could you please explain as to what does "shouldn't be located in a
> path served by a static handler "
> mean with an example. BTB I have my xml file in D:\TEST
>
> Thanks,
> GuruDutta
>
> On Sep 11, 7:55 pm, Tim Hoffman <zutes...@gmail.com> wrote:
>
> > hi
>
> > you can read files but it/they shouldn't be located in a path served
> > by a static handler.
>
> > have a look at where you have put it.
>
> > On Sep 11, 10:30 pm, GuruDutta <guru.rg2...@gmail.com> wrote:
>
> > > Hi All,
>
> > > I am trying to read an XML file from the local file system. I have an
> > > app which runs on the GAE and all my code is in
> > > python and Jquery. Now I tried 2 ways of reading this file.
>
> > > 1. I tried to parse the xml file within my server code but it gave me
> > > an EACESS error stating it cannot access the file.
>
> > > 2. I tried to read the file from the UI  using javascripts but it
> > > still gave me a "security error" .
>
> > > So now how do I read a file from within my web application??
>
> > > Thanks,
> > > GuruDutta
--~--~---------~--~----~------------~-------~--~----~
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