I have an OPS-based app that generates PDF files. I need to combine
bunch of such files into a single zip archive that a web app user will be able to download instead of having to download multiple original PDF files. What would be the best way to do this? I am developing on unix and deploying on Windows, so I realize that I might need to create 2 different interfaces to a shell/command line to invoke a zip program, but how do I interface with shell/cmd line in the OPS framework? I found an example how to execute a xpl from CLI, but not vice versa. Any other options? Thanks A. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
You should be able to do it in Java using something like java.util.zip
(http://java.sun.com/j2se/1.4.2/docs/api/java/util/zip/package-summary.h tml), though you'd have to hook that into Orbeon by writing your own processor. -----Original Message----- From: Alexander Zatko [mailto:[hidden email]] Sent: 24 October 2005 15:55 To: [hidden email] Subject: [ops-users] creating zip archives I have an OPS-based app that generates PDF files. I need to combine bunch of such files into a single zip archive that a web app user will be able to download instead of having to download multiple original PDF files. What would be the best way to do this? I am developing on unix and deploying on Windows, so I realize that I might need to create 2 different interfaces to a shell/command line to invoke a zip program, but how do I interface with shell/cmd line in the OPS framework? I found an example how to execute a xpl from CLI, but not vice versa. Any other options? Thanks A. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Somebody on this list created a zip processor at some point, and I don't
know if that can be made available. But yes, achieving this is perfectly doable without calling an external command-line and just using the Java API. -Erik Stephen Bayliss wrote: > You should be able to do it in Java using something like java.util.zip > (http://java.sun.com/j2se/1.4.2/docs/api/java/util/zip/package-summary.h > tml), though you'd have to hook that into Orbeon by writing your own > processor. > > -----Original Message----- > From: Alexander Zatko [mailto:[hidden email]] > Sent: 24 October 2005 15:55 > To: [hidden email] > Subject: [ops-users] creating zip archives > > I have an OPS-based app that generates PDF files. I need to combine > bunch of such files into a single zip archive that a web app user will > be able to download instead of having to download multiple original PDF > files. What would be the best way to do this? I am developing on unix > and deploying on Windows, so I realize that I might need to create 2 > different interfaces to a shell/command line to invoke a zip program, > but how do I interface with shell/cmd line in the OPS framework? I > found an example how to execute a xpl from CLI, but not vice versa. Any > other options? > > Thanks > > A. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
I might need to contract somebody to code this for me in a couple of
weeks. Please send me an email off the list if any of you are interested to do this work. If it turns out that I will need this done, I will send you a description of the desired functionality so that you can send me a quote. Thanks A. On Oct 25, 2005, at 5:27 AM, Erik Bruchez wrote: > Somebody on this list created a zip processor at some point, and I > don't know if that can be made available. > > But yes, achieving this is perfectly doable without calling an > external command-line and just using the Java API. > > -Erik > > Stephen Bayliss wrote: >> You should be able to do it in Java using something like java.util.zip >> (http://java.sun.com/j2se/1.4.2/docs/api/java/util/zip/package- >> summary.h >> tml), though you'd have to hook that into Orbeon by writing your own >> processor. >> -----Original Message----- >> From: Alexander Zatko [mailto:[hidden email]] Sent: 24 October 2005 >> 15:55 >> To: [hidden email] >> Subject: [ops-users] creating zip archives >> I have an OPS-based app that generates PDF files. I need to combine >> bunch of such files into a single zip archive that a web app user >> will be able to download instead of having to download multiple >> original PDF files. What would be the best way to do this? I am >> developing on unix and deploying on Windows, so I realize that I >> might need to create 2 different interfaces to a shell/command line >> to invoke a zip program, but how do I interface with shell/cmd line >> in the OPS framework? I found an example how to execute a xpl from >> CLI, but not vice versa. Any other options? >> Thanks >> A. > > > -- > You receive this message as a subscriber of the > [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |