Sorry, did not see your post earlier Stephen. I was not aware of this 10 minute feature to create a file, I will look into.
File size will be greater then 10MB, it is an existing website which I am thinking to port to gae, file size already gets around 12MB or so. So I guess more than 10MB download will be an issue and I guess download should also complete in 30 second, is that so? On Nov 29, 5:37 pm, pac <parvez.chau...@gmail.com> wrote: > A client will download a xml file instead of uploading. > Records will be created (or updated, deleted) in a table/kind over > time and all records from a kind need to be downloaded in form of a > xml file, I hope I am explaining the issue bit more clearly. > > I am not sure if I could make use of blobstore in this case as it will > require update of blobstore object (in background may be using task) > every time a record gets added/updated/deleted i.e. if I create xml > file programmaticaly and store as blobstore object. > > On Nov 29, 5:14 pm, Didier Durand <durand.did...@gmail.com> wrote: > > > Hi, > > > To emulate files, you have to use the Blob object in the datastore to > > store such xml content: see com.google.appengine.api.datastore.Blob > > inhttp://code.google.com/appengine/docs/java/datastore/dataclasses.html... > > > Blob has a limited max size: 1 Mbyte. So, you can use a collection > > (Vector, List, etc..) of Blobs if you need more than 1 Mbytes. > > > If your files get uploaded by a client, you can use the Blobstore > > where the max size is much bigger(2 Gbytes): > > seehttp://code.google.com/appengine/docs/java/blobstore/overview.html > > > You have to associate the blob with some other fields (name, size, > > last_updated) in you pojo to reproduce what you expect from a file. > > > N.B. if you need to emulate a directory tree, you also have to write > > it by yourself. > > > Finally, I would recommend alternative Objectify rather than standard > > JDO for such services. > > > Hope this helps > > > regards > > didier > > > On Nov 29, 5:53 pm, pac <parvez.chau...@gmail.com> wrote: > > > > In a website I need to provide a feature to get data in xml format > > > i.e. some url > > > > e.g.http://www.mysite.com../data.xml > > > > I think in gae I can not create a file. Any suggestions to create such > > > feature to get data from data store in this way? > > > > Data store will have large number of records, so in general, a file > > > created from that could be of good few MBs. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.