Android Question Archiver only unzipping one file

Discussion in 'Android Questions' started by Tyler, May 22, 2017.

  1. Tyler

    Tyler Member Licensed User

    Code:
    zipper.AsyncUnzip(File.DirRootExternal & "/adc""lists.zip"File.DirRootExternal & "/adc""zipper")

    Sub zipper_UnzipDone(CompletedWithoutError As Boolean, NbOfFiles as Int)
    ToastMessageShow("NbOfFiles"False)
    End Sub
    Hey, so I have a .zip archive with 1 .txt file and 2 folders(each containing one .txt file) inside. Using the default archiver library it's only unzipping the single text file and not the folders or their text files. Am I missing something? I thought this would just unzip everything in the archive, regardless of structure. ToastMessage is showing that NbOfFiles is '-1'.


    Any help or guidance would be much appreciated, thanks!
     
    Last edited: May 22, 2017
  2. Erel

    Erel Administrator Staff Member Licensed User

    Don't use ToastMessageShow for this. Use Log.

    Can you upload the zip file?
     
  3. Tyler

    Tyler Member Licensed User

    Not at the moment, but I will when I am able. I've since used ABZipUnzip which seems to work for now.
     
Loading...
  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