Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynazip...what order does it unzip files in
Message
From
15/11/2001 11:04:32
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00581955
Message ID:
00582119
Views:
20
Thanks Mark

I will give it a quick try but I think renaming the file prior to zipping it is going to be my simplest option now.

I will just add an underscore to the start before zipping it then remove it later on when I want it to behave as a flag.

BTW my compliments on your wrapper class I use it a lot:)



>OOps. I should have looked at the DynaZip class first. You can not mix Zip parameters with Unzip parameters. The exclude option is only available during zip operations. There is no exclude option in the unzip operation. Run this code to get a list of all the files in the zip:
>local oDZ
>oDZ = newobject('dynazip', 'dynazip.fxp')
>with oDZ
>   .cUnz_ZipFile         = getfile("Zip Files:ZIP,EXE", "File to Unzip:")
>   .cUnz_FileSpec        = "*.*"
>   .cUnz_Destination     = getenv("Temp")
>   .lUSO_ExternalProg    = .t.
>   .GetAllZipFileInfo()
>   suspend
>endwith
>oDZ.Release()
>The 11th element of each file is the Index number. You can extract each file [1-by-1] based on its index number or you can create a list of all the files to extract by looping through the array and building the UNZ_FileSpec string.
Previous
Reply
Map
View

Click here to load this message in the networking platform