Hi,
I'm using java in GAE and i recently started using Blobstore to serve
my application download file, the only "issue" that i have is that
when it serves the file, the size is not sent to the browser so it
can't estimate the time for the download to complete...
here is the piece of code that i use to serve the file:
BlobstoreService blobstoreService =
BlobstoreServiceFactory.getBlobstoreService();
Iterator<BlobInfo> iterator = new
BlobInfoFactory().queryBlobInfos();
while(iterator.hasNext()) {
BlobInfo b = iterator.next();
if (b.getFilename().equals('myfile.exe'))
blobstoreService.serve(b.getBlobKey(),resp);
}
is there a way to also send the file size to the browser while serving
the file?
thanks,
Oded.
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.