Hi Jonathan, Just keep the zip file out from the deployment directory. Once you read the input stream you can use File object [1] to save it to a file system location rather than saving it to the deployment directory.
[1] - http://jaggeryjs.org/apidocs/file.jag Regards, Dilshan On Fri, Mar 7, 2014 at 11:11 PM, Jonathan Marsh <[email protected]> wrote: > Sounds good, can you explain the workaround in more detail? Or is it > already documented somewhere? > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Nuwan Bandara > *Sent:* Friday, March 07, 2014 7:40 AM > *To:* [email protected] > *Subject:* Re: [Architecture] Jaggery unzips all folders? > > > > Yeah, I also have reported this issue sometime back, but we couldn't fix > it. > > > > @Jonathan for the time being you can upload it to a different location > using file:/// location > > > > Regards, > > /Nuwan > > > > On Fri, Mar 7, 2014 at 1:44 AM, Ruchira Wageesha <[email protected]> wrote: > > Hi KasunG/Sagara > > > > Is there a way to disable hierarchical app deployment? > > > > /Ruchira > > > > On Fri, Mar 7, 2014 at 8:00 AM, Jonathan Marsh <[email protected]> wrote: > > Hi, > > > > I'm trying to post a .zip file for download from a jaggery app. But the > jaggery server keeps unzipping it automatically, even if I embed it a few > levels deep. Is there a way to control this behavior or are .zip files > unable to be served up with Jaggery? > > > > -Jonathan > > > > _______________________________________________ > Architecture mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > > > > > -- > > > *Ruchira WageeshaAssociate Technical Lead* > > *WSO2 Inc. - lean . enterprise . middleware | wso2.com <http://wso2.com>* > > > *email: [email protected] <[email protected]>, blog: > ruchirawageesha.blogspot.com <http://ruchirawageesha.blogspot.com>, > mobile: +94 77 5493444 <%2B94%2077%205493444>* > > > _______________________________________________ > Architecture mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > > > > > -- > > *Thanks & Regards,* > > *Nuwan Bandara** | Technical Lead - Solutions Architecture, WSO2 Inc.* > > *+1 812.606.7390 <%2B1%20812.606.7390> | +1 650.745.4499 Ext 4210 > <%2B1%20650.745.4499%20Ext%204210> | http://nuwanbando.com > <http://nuwanbando.com> * > > _______________________________________________ > Architecture mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > -- Dilshan Edirisuriya Senior Software Engineer - WSO2 Mob: + 94 777878905 http://wso2.com/
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
