EldoS | Feel safer!

Software components for data protection, secure storage and transfer

TElZipReader Extract Method

Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.
Posted: 01/27/2014 13:39:44
by Stalin Vinces (Standard support level)
Joined: 08/08/2011
Posts: 7


I'm using this method to extract the files from a .zip file with two files inside. When I invoke it, the function pass but no exception is thrown. But the file is not unzipped.

The implementation code is:

  Dim sbb_unzip As New TElZipReader

                sbb_unzip.Open(lv_Ruta + file, False)
            Catch ex As Exception
                Throw New Exception(ex.Message)
            End Try

                sbb_unzip.Extract(file, lv_Ruta)
            Catch ex As Exception
                Throw New Exception(ex.Message)
            End Try


I'm kinda confused because in your examples you use an arraylist on the first parameter in extract function.
Posted: 01/27/2014 13:46:38
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for contacting us.

What is 'file' variable in your code? ArrayList should contain a list of TElArchiveDirectoryEntry objects to extract. If 'file' in your code is a string then our code process it as a file mask and you get unexpected result.



Topic viewed 414 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!