Closed bug feature packaging performance question/support var zip = new JSZip(); zip.file("Hello.txt", "http://mywebsite.com/files/Hello.txt"); Collaborator GET the text file and put the result into a JSZip instance. If you try to load a binary file (image, sound, zip) you may be interested in this comment . Collaborator This is a frequent request (loading a remote zip file or adding the content of a remote file). While ajax requests are not in the scope of JSZip, loading binary files in all browsers is hard and we already have everything to do that (used in the unit tests).
Read full article from Is there a way to load files into the Zip from remote URL? · Issue #61 · Stuk/jszip
No comments:
Post a Comment