Hi Buddhima,

If you upload a zip file to any location within
<JAGGERY_SERVER>/repository/deployment/server/jaggeryapps/ , server will
treat that file as a webapp and unzip it for you.

You can try this behavior by copying a zip file to a directory inside your
webapp. But I'm not sure whether this behaviour is correct or not.
File API[1] might help you further.

[1] http://jaggeryjs.org/documentation.jag?api=file

Regards,
UdaraR


On Tue, Jul 29, 2014 at 2:05 PM, Buddhima Wijeweera <[email protected]>
wrote:

> Hi,
>
> I'm currently developing a Jaggery app, which user can upload a zip file.
> After uploading the zip file, Jaggery app should extract that zip file &
> put the content in to a folder (at server-side).
>
> So I would like to know how can I do this or is there any place where this
> is already implemented.
>
> Thank You!
>
> --
> Buddhima Wijeweera
> Software Engineer; WSO2 Inc.; http://wso2.com ,
>
> Email: [email protected]
> Blog:   https://buddhimawijeweera.wordpress.com
> GitHub Profile: https://github.com/Buddhima
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Udara Rathnayake*
Software Engineer
WSO2 Inc. : http://wso2.com

Mobile : +94 772207239
Twitter : http://twitter.com/udarakr
Blog    : http://udarakr.blogspot.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to