FileSystem API directory compression method #224
-
Hello! I'm using the FileSystem API (version 2.2.17 of jszip) to create a zip file that contains both files and folders. The folders can contain files. I add the directory using the addDirectory method and the files using the addText method. When examining the zip file using 7zip I see that the method for files is DEFLATE while for directories is STORED. BR, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, You cannot change the method because the directory entries aren't present in the zip file actually. You can see this by listing the entries in the zip file with a program like |
Beta Was this translation helpful? Give feedback.
Hi,
You cannot change the method because the directory entries aren't present in the zip file actually. You can see this by listing the entries in the zip file with a program like
unzip
.