Create a compressed file of multiple files
Hi All
I am working in the SharePoint task and created a table which will show all the task items and having an Attachment column which will show the attachments related to the task item.If i click the attchment icon it will download the file.. But if in case that task item contains multiple attachment i want to download it as zip file.
JsZip example showing about creating a file and zipping it.
var zip = new JSZip();
zip.file("Hello.txt", "Hello World\n");
var img = zip.folder("images");
img.file("smile.gif", imgData, {base64: true});
var content = zip.generate({type:"blob"});
// see FileSaver.js
saveAs(content, "example.zip");
but instead i have the file url using that i wanna zip it
Regards
Jhanani