FortuneN / cordova-plugin-zeep

Zip compression/decompression for the cordova/phonegap platform
Apache License 2.0
28 stars 37 forks source link

only in android, unzip a folder is failing with ENOTDIR error #24

Open bandhavya opened 5 years ago

bandhavya commented 5 years ago

In android mobile, invoking zeep.unzip method is throwing error as "Open failed: ENOTDir (Not a directory)"

In android, I have a zip file containing the following structure --- testFile.zip ------------ testFolder --------------------- test.png

i.e. any file it can be a .txt or .png file inside a folder and zip this folder. While trying to unzip this folder, Not a directory error is thrown.

But ios works fine.

Why this issue occurs ?