Hi,
I need to create and deliver a zip file of various datafiles on disk (within the application sandbox) and then deliver the file to the user. Delivering it is no trouble, but what can be done with a few command line calls from a shell prompt seems really complicated from within the server environment. Should I use the exec-processor, or is there a better way to work with files? Thanks, Hank Hank Ratzesberger NEES@UCSB Institute for Crustal Studies, University of California, Santa Barbara 805-893-8042 -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Hank, this might be of interest to you:
http://wiki.orbeon.com/forms/doc/developer-guide/processors-zip-unzip A. On Jun 9, 2009, at 10:20 PM, Hank Ratzesberger wrote: > Hi, > > I need to create and deliver a zip file of > various datafiles on disk (within the application > sandbox) and then deliver the file to the user. > > Delivering it is no trouble, but what can be > done with a few command line calls from a shell > prompt seems really complicated from within > the server environment. > > Should I use the exec-processor, or is there > a better way to work with files? > > Thanks, > Hank > > Hank Ratzesberger > NEES@UCSB > Institute for Crustal Studies, > University of California, Santa Barbara > 805-893-8042 > > > > > > > -- > 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 > OW2 mailing lists service home page: http://www.ow2.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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Does that work for relative paths? Or only absolute paths? We want to be
be able to pick up a zip file and copy it somewhere else an unzip it into a new area w/o clobbering another area. We've got a similar where we need to unpackage a delivery, verify the contents and make some changes and then zip them up and place them in another area. I'm currently calling a perl script via execute-processor but long term I'd like to move more functionality into xpl files. Also, is it possible to call another zip program like gzip? We have both here, don't ask why. claude Alexander Žaťko wrote: > Hank, this might be of interest to you: > > http://wiki.orbeon.com/forms/doc/developer-guide/processors-zip-unzip > > A. > > On Jun 9, 2009, at 10:20 PM, Hank Ratzesberger wrote: > >> Hi, >> >> I need to create and deliver a zip file of >> various datafiles on disk (within the application >> sandbox) and then deliver the file to the user. >> >> Delivering it is no trouble, but what can be >> done with a few command line calls from a shell >> prompt seems really complicated from within >> the server environment. >> >> Should I use the exec-processor, or is there >> a better way to work with files? >> >> Thanks, >> Hank >> >> Hank Ratzesberger >> NEES@UCSB >> Institute for Crustal Studies, >> University of California, Santa Barbara >> 805-893-8042 >> > -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |