I'm using java. not phyton. On 14 Set, 06:39, Niklasro <[email protected]> wrote: > On Sep 13, 12:40 am, Bit Liner <[email protected]> wrote:> i am developing > an app that uses two files, and the app needs one page > > where user can download these two files compressed in a zip file. > > > But GAE doesn't support java.io, and i don't know how generate a path/ > > url that allows user to download this zip file. > > > Some help? > > With python we can generate zip files, so java should be able too. > Here's how to gzip it in python > > zbuf = StringIO.StringIO() > zfile = gzip.GzipFile(None, 'wb', 9, zbuf) > zfile.write(buf) > zfile.close() > return zbuf.getvalue()
-- You received this message because you are subscribed to the Google Groups "Google App Engine" 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?hl=en.
