Possible to create a ZIP file in Ionic?


My Android+iOS app will allow the user to create multiple files, and when things are working properly they’ll be able to upload them individually to a hosting site I have. I’d like to create a way for users to simply mass-upload all of their files and data at once, in case there’s something wrong with the upload and we need to go through the raw data ourselves.

Is there any way to create a single .zip file from a folder?

Or is there a way to use File Transfer or an HTTP send to upload an entire folder’s worth of data, not just an individual file?



you can use input tag det a files object and jszip https://stuk.github.io/jszip/ to zip files and send it to your server.

Best regards, anna-liebt