Previous - zipIsOpen Section Home - Zip Compression Next - uZipOpen


zipErr ( )

Retrieves the errors string of the last zip operation

Usage:

zipErr (object me)

Parameters:

None

Returns:

(string) - A detailed error reported by the zip API

Example:

xtRose = xtra("Rosetta").new( )
xtRose.zipCreate( "C:\DirectorData.zip" )
if ( xtRose.zipAdd( "C:\Program Files\Macromedia\Director 8.5\Welcome.dcr", "myNewFolder\shock.dcr" ) < 0 ) then
  alert xtRose.zipErr( )
end if

Notes:

When the success code returned by the zip operation is -398, you can use zipErr( ) to obtain a detailed information as to why the last operation failed.

See Also:

Error Codes


Previous - zipIsOpen Section Home - Zip Compression Next - uZipOpen