Opens an existing zip compatible compressed archive
Usage:
uZipOpen (object me, string filePath)
Parameters:
filePath (string) - The path to an existing zip compatible file
Returns:
(integer) - The success code
Example:
-- ask end user for a zip file, then extract all file contents on to the same folder
xtRose = xtra("Rosetta").new( )
strPath = xtRose.dlgFile( 2, the moviepath, "untitled.zip", "Zip file (*.zip)|*.zip", "zip" )
If ( STRINGP(strPath) = TRUE ) Then
xtRose.uZipOpen(strPath)
Repeat with i = 1 to xtRose.uZipCount( )
strFileName = xtRose.uZipGetItemName( i )
xtRose.uZipItem( i, the moviepath & strFileName )
End Repeat
xtRose.uZipClose( )
End If
Notes: