srikanth-lingala / zip4j

A Java library for zip files and streams
Apache License 2.0
2.01k stars 307 forks source link

create split zip file merge files and folders #461

Open lzxshare opened 1 year ago

lzxshare commented 1 year ago

the zip function createSplitZipFile(List filesToAdd, ZipParameters parameters, boolean splitArchive, long splitLength),when the parameter filesToAdd contains file and folders,the zip4j only deal with file, the files in the folder are not included,it only keep a empty folder in zip. can you add the files in the folder and keep the directory structure when we use createSplitZipFile(List filesToAdd, ZipParameters parameters, boolean splitArchive, long splitLength) this function?