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

File not added in folder zip using addLocalFolder #441

Closed
rusel-arceo opened this issue Jan 23, 2023 · 1 comment
Closed

File not added in folder zip using addLocalFolder #441

rusel-arceo opened this issue Jan 23, 2023 · 1 comment

Comments

@rusel-arceo
Copy link

I am tried to include a folder with all theirs subfolder and fiiles, I use this:
**
const zip = new AdmZip();
zip.addLocalFolder(pathToCompress);
zip.writeZip(pathDestinity);
**

and a structure to compress like:

image

but in the file compress, the file.csv is no added.

is this a trouble or there is a way to added all the content included files ?

I've found in documentation and I had not found nothing.

@rusel-arceo rusel-arceo changed the title File noy added in folder zip using addLocalFolder File not added in folder zip using addLocalFolder Jan 23, 2023
@5saviahv
Copy link
Collaborator

Based on OP example:

  • if you specify "subfolder2" it will include "file.csv".
  • if you specify "subfolder3" it will not include "file.csv".

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