Hi saran,
It's possible.
Your scenario doesn't need
https://gae-file-service.appspot.com/.
Any files download service can satisfy your need.
You just need to know a download link.
Then you can do steps 3 and 4.
Saved files (e.g., test.xls) in the datastore is private to each web
application.
tytung
> Thanks and good to see your reply. here i am explaining a complete
> scenario. for example,
>
> 1) I logged in google account and open thehttps://
gae-file-service.appspot.com/
> page and uploaded a file.
> for example say test.xls .
> 2) I am writing an webclient i.e servlet which runs in my local server
> not in Google app engine server (
www.my.appspot.com)andmy local
> server has internet connection
> 3) Through my webclient i.e servlet i want to download the file
> (test.xls) which is uploaded inhttps://
gae-file-service.appspot.com/
> .
> 4) After downloading, i want to parse the excel file and to get the
> data for my local processing.
>
> This is what i actually want. This can possible or not ?
>
> The datastore object is common to all
appspot.com application or
> private to each application ?
> If datastore is private to each apps means you are correct, i.e
> Servlet cannot cross the different domain, for
> example,https://gae-file-service.appspot.comandhttps://
YOURGFS.appspot.com.
>
> please do reply .
>
> cheers
> saran
>
> On Apr 25, 9:56 pm, tytung <
tyt...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi saran,
>
> > I don't completely understand your question.
> > Do you mean your Java Servlet is running in your website, we sayhttps://
YOURGFS.appspot.com/?
> > Then your Servlet would like to download a file fromhttps://
gae-file-service.appspot.com/anddo the file processing.
> > If so, you just get a file from my website.
> > There's no differences whether the file download link is fromhttps://
gae-file-service.appspot.com/orfrom other websites.
> > You cannot use "GoogleFile g =
> > DatastoreUtils.getGoogleFileById(fileId);" in your Servlet in your
> > website to do more processing.
>
> > In other words, Servlet cannot cross the different domain, for
> > example,https://gae-file-service.appspot.comandhttps://
YOURGFS.appspot.com.
>
> > tytung
>
> > On Apr 25, 7:51 pm, saran <
saranpa...@gmail.com> wrote:
>
> > > hi tytung,
>
> > > i gone through your code. I got the idea.
>
> > > But my question is different.
>
> > > I uploaded a excel file in your application by using my google
> > > account.
https://gae-file-service.appspot.com/home.jsp
>
> > > I am writing an web client. i.e servlet. in that i need to get the
> > > file which i uploaded in ur apps. i.ehttps://
gae-file-service.appspot.com/home.jsp.
> > > So i need to connect my servlet (Web apps) to your application .iehttps://
gae-file-service.appspot.com/home.jspandtoget download the