zip file using zip.js before upload.

332 views
Skip to first unread message

Amitava Saha

unread,
Mar 25, 2013, 4:21:37 AM3/25/13
to jquery-f...@googlegroups.com
Hi,

I would like to zip a file using zip.js before uploading. The idea is:

1. Files added to queue.
2. Upload start.
3. Each file: call createZip() method and create zip file. It returns blob.
4. Pass the blob to Uploader.
5. Uploader uploads the blob as usual (instead of the File).

Is there any hook in jQuery-File-Upload to do this?

Dan Brellis

unread,
Aug 19, 2013, 11:08:48 AM8/19/13
to jquery-f...@googlegroups.com
Amitava,

Any luck with this? I would also like to do the same thing.

Amitava Saha

unread,
Aug 19, 2013, 9:39:15 PM8/19/13
to jquery-f...@googlegroups.com
Not with this plugin. Can easily be done with HTML5 file api.
Reply all
Reply to author
Forward
0 new messages