FortuneN / cordova-plugin-zeep

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

open failed: ENOTDIR (Not a directory) when calling zeep.unzip #1

Open carlsonad opened 7 years ago

carlsonad commented 7 years ago

HI, I am getting the following error when calling zeep.unzip in an android cordova application:

/data/user/0/com.testApp.test/cache/1.0.0.0/www/test/test.html: open failed: ENOTDIR (Not a directory)"

I've been able to use this on an emulator with no problem. However, when attempting to use it on a physical Samsung Galaxy Tab3 I get the above exception message.

Any idea, what would cause this or how to work around it?

carlsonad commented 7 years ago

I figured out the difference. If I create the archive from windows explorer's Send To -> Compressed (zipped) folder context menu zeep will throw the exception above. Is this expected?

FortuneN commented 7 years ago

I understand the issue. I'll run it through with a Window Explorer created zip

GuillermoOdone commented 7 years ago

Hi, I'm using winrar to generate zip, and also throws ENOTDIR. How do you create the zip file to not get the ENOTDIR?

Thnx.

FortuneN commented 7 years ago

@GuillermoOdone also on android, correct?

khatridev commented 7 years ago

@carlsonad even I am facing the same issue....please respond if it is solved..