Open ghost opened 6 years ago
I want to unzip the archive. in which there are files and folders.
Restore the same structure.
Files it unzip. and the folder shows as an empty file
fs.createReadStream(req.file.path).pipe(unzip.Extract({ path: 'output/'+req.file.path+'' }));
same problem
I want to unzip the archive. in which there are files and folders.
Restore the same structure.
Files it unzip. and the folder shows as an empty file