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

Cannot unzip powershell zipped folders #88

Closed
requireyan opened this issue Jun 29, 2018 · 4 comments
Closed

Cannot unzip powershell zipped folders #88

requireyan opened this issue Jun 29, 2018 · 4 comments

Comments

@requireyan
Copy link

requireyan commented Jun 29, 2018

Compress-Archive myfolderpath\* mycompressed.zip

Unzipping with yauzl gives an error:

Error: invalid characters in fileName: folder\file.js
    at ...\node_modules\yauzl\index.js:413:70
    at ...\node_modules\yauzl\index.js:618:5
    at ...\node_modules\fd-slicer\index.js:32:7
    at FSReqWrap.wrapper [as oncomplete] (fs.js:614:17)
@thejoshwolfe
Copy link
Owner

Sounds like same issue as #66 (comment) . can you confirm the version of .NET you're using?

@requireyan
Copy link
Author

4.5 - 4.6 win 10

@thejoshwolfe
Copy link
Owner

thanks! this i'll get a fix for this published shortly.

@thejoshwolfe
Copy link
Owner

published yauzl 2.10.0 which replaces backslashes by default. let me know if this solves your 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

2 participants