folder as file
Opened this issue · 1 comments
Deleted user commented
I want to unzip the archive. in which there are files and folders.
- test.png 1kb
- test.txt 1kb
- folder1/
|- one.png 1kb
|- two.png 1kb
Restore the same structure.
Files it unzip. and the folder shows as an empty file
- test.png 1kb
- test.txt 1kb
- folder1 0kb
fs.createReadStream(req.file.path).pipe(unzip.Extract({ path: 'output/'+req.file.path+'' }));
ryanhex53 commented
same problem