Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

folder as file #119

Open
ghost opened this issue Jul 26, 2018 · 1 comment
Open

folder as file #119

ghost opened this issue Jul 26, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 26, 2018

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
Copy link

same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant