.extractZipFile() ...doesnt unzip folders?
-
..so Im trying to unzip a folder to my Expansions Directory..... and extractZipFile wont work - as all I have in my zip is a folder (which itself has a bunch of files in it...but hey..), if I extract a zip with files in it then it works fine, please tell me there is a way around this????
-
Working here
HiseSnippet 863.3ocsVstaSCCE1taAQBWDHwCPT+UlzTU6XbQBMAr1UTEzQEcfP7mIOGmUybrircFTP6ogWPdCficxVyXSCVkn+Hxmq4674y4jNQqnLiQoQ3v8lWvP3aGLctzNq+LBWhFM.guavXhwxzwUp1ddAwXXoHLdkW4TfCWE4+8ymuMQPjT1BUHzGTbJ6M7btcg1Iu30bgXHIksGOug2a9hQTkruRnJA7rRPWTAgdD4P1tDmasBP3arSJ2pzSsDKy.9rsJc9zYpuHq7+CbC+.AyIzCMERTkZT+YbQ5jSqUCBgWcxhJekpJ+AAi4o7yzufAtm2P7hHZxA3VWEj5cMfDtAjVsBR2OXJUyKrKr3vysBFIgKjLBP0MgRkunViaEzWAdHscxIGwFpAgyhH4wc6tdL7XsmEEEwkBtjEmUJoVtRFqjaWZsJYOWBzJQBUkWnjPpVO9XhnjsVz2iB4YwI0RggZlsTKeFbJJTnnDQbV7VwC4B1z4PeSdmCY1gJQJSmzP4.l4HqpXMmUOU3rkzFnPamuwKZCnqNaVhF74ZjRHxnvrNruZ0Dp8S7BepqRy5wYDggs9YUbh5fOCUATT9pBj53tIKMwasU7Ft5KDnBiRv5Tn4RaR6A.c3g2IviS.R7Tt1UImxVIsq4w1q0w3z6Yy9Dg3.nkN4OoYHSMtB1UYYuUl3o5nShh+SSYYWps5bI.V4xL6l0zWUfIxx7CX5lWzNGglwy2gei+sNbZEszvQkbjjaeaAqV1eElVc9hyCnZdEN89QCHVhaDoVG3WASa4N3fGvNF1wTMvDFT2E38s9x.fr0a8t0iSUjOhm5Bn9l.8UDN.+R3sM2c3GvAtYrJGhmnAU3VFxwrQxIZFbg5F2PWbdE1TnRKED64We31SVa.X7yMy5lKkFtcdy8nWicJcuxcJ+qP79AS3V5rK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a8t0iSUjOhm5Bn9l.8UDN.+R3sM2c3GvAtYrJGhmnAU3VFxwrQxIZFbg5F2PWbdE1TnRKED64We31SVa.X7yMy5lKkFtcdy8nWicJcuxcJ+qP79AS3V5rKGistDLB2E+OvX8l36DrSVFiZW.vUCF9wkcs6e40+NUokKObLwp4tdfcKymBe.hxf2tTxDFW6PKW+XkbWmriAlxjodgeA+pM1yIiqM16TinbBUq1mVMm410eSuF.SR+m1BguwBxw8P9Yul7bN7om8ozympKD3FKafObYCbykMvGsrA93kMvmrrA9z+dft+YvKKsp7pwFDZ7jc7Kqv3cjDnCz2sh9MTwFrNH
but only if target = a directory, not a string.. so
f.extractZipFile("C:\Users\Username\AppData\Roaming\Company\Product\Expansions", false, function(obj)
fails... here at least.
the documentation says:
this method will extract a standard ZIP file (without password protection) to the given target directory (which can be either a file path String or a File object).
-
..yeah doesnt even work with a Directory object in a real world example...
-
@Lindon said in .extractZipFile() ...doesnt unzip folders?:
in a real world example
Can you provide one I can test?