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

extractEntryTo is not working #147

Closed
ankitgo opened this issue Aug 4, 2015 · 2 comments
Closed

extractEntryTo is not working #147

ankitgo opened this issue Aug 4, 2015 · 2 comments

Comments

@ankitgo
Copy link

ankitgo commented Aug 4, 2015

Extracting a folder fails with the following error (though extracting files work fine)

D:\githubadmzip\adm-zip\adm-zip.js:339
throw Utils.Errors.NO_ENTRY;
^
Entry doesn't exist.

I debugged this a little, the entryTable doesn't have entries for folders, only for files are available.

@zecoenergy
Copy link

Just for others with the same issue, I encountered this issue too however it was because I used entry.name instead of entry.entryName or even just the entry it self.

i.e.

myZip.extractEntryTo(entry.entryName, 'path-to-folder', false, true);

or

myZip.extractEntryTo(entry, 'path-to-folder', false, true);

HTH?

@5saviahv
Copy link
Collaborator

same as #414 & #419

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

3 participants