Questions tagged [yauzl]
6 questions
5
votes
1 answer
Zip archive with nested folder inside does not unzip with yauzl
I am writing software which, among other things, downloads a zip archive using the Dropbox API and then unzips that archive using yauzl.
The way the files are stored and downloaded from DB often ends up with nested folders, and I need to keep it…

KoG
- 51
- 2
4
votes
2 answers
How to unzip to a folder using yauzl?
I am trying to use yauzl to unzip files. However the example in the repo does not show how to unzip to a folder. It simply says:
readStream.pipe(somewhere);
Is there an easy way to extract the contents to a folder?

Naresh
- 23,937
- 33
- 132
- 204
1
vote
0 answers
How can I read specifc file by filename when using yauzl?
I have to extract files from a zip archive and after that process it.
The thing is that each archive will have it own manifest file, and I have to check if its valid. How can I firstly check the manifest file and processed only if its available and…

LuckyLuke
- 1,028
- 2
- 14
- 28
0
votes
0 answers
Using createReadStream, createWriteStream and yauzl package to move images from one catalog to another
I have a task where the users inputs a catalog name and image name and based on this the provided file needs to be moved from the provided catalog to the 'temp' file.
This needs to be done with streams as well as the yauzl package since the file is…

JKukielski
- 31
- 3
0
votes
1 answer
yauzl callback parameter is undefined in one computer, works fine in another
I'm trying to do
yauzl.open(path, options, (err, zipfile) => {
//code
})
when zipfile is supposed to be of type ZipFile
On one computer everything is fine, on the other one I keep getting undefined.
The only differences between the too is that…

SkyNess
- 55
- 8
0
votes
1 answer
NodeJS Yauzl - extract a subfolder into a new zip
I have a specific usecase that I could not find an example for and trying to hack together different examples is not achieving much for me so far.
I am using a nodeJS function in Lambda on AWS
I have a zipfile in the form of a buffer (just read from…

Thomas Smart
- 135
- 1
- 9