Bug? Zip / AsyncUnzip not working - iArchive v1.01

Discussion in 'iOS Bugs & Wishlist' started by MikeH, Jan 21, 2015.

  1. MikeH

    MikeH Well-Known Member Licensed User

    I`m having difficulty getting a file to unzip. I can see the zip file in the folder using Log(File.ListFiles(File.DirTemp)) but my results are:

    Zip.Unzip(File.DirTemp, "POI.zip"File.DirTemp, "")
    Error unzipping file: Error Domain=SSZipArchiveErrorDomain Code=-1 "failed to open zip file" UserInfo=0x19e8e600 {NSLocalizedDescription=failed to open zip file}

    Zip.AsyncUnzip(File.DirTemp, "POI.zip"File.DirTemp, """UnZip")
    Unzip_unzipdone is triggered but success is always false.

    I`ve also tried using DirDocuments but I get the same results.

    Hope you can help.

    Thank you,
  2. MikeH

    MikeH Well-Known Member Licensed User

    It appears that my zip file was broken. Hence "failed to open zip file".

    I`ll know for sure soon and will confirm.

    Thanks again.
  3. chjk

    chjk Member Licensed User

    I also encountered the same problem, how do you solve it ? Thanks
  4. moore_it

    moore_it Active Member Licensed User

    The zip work only with folders, you need to copy a file/files in a folder and zip it.
    For me work fine.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice