PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Use conditions
  • Actions that can be performed on a multi-part archive
  • Actions that can be performed on a single-part active
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the type of archive: single-part archive or multi-part archive.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 18 and later
WINDEVWEBDEV - Server codeWindows This function now supports the 7z format.
New in version 18
WINDEVWEBDEV - Server codeWindows This function now supports the 7z format.
WINDEVWEBDEV - Server codeWindows This function now supports the 7z format.
WINDEVWEBDEV - Server codeReports and QueriesAjaxUser code (UMC)
// Open the archive named "Archive"
ResOpenArchive = zipOpen("Archive", "D:\Backups\Backup.zip")
IF ResOpenArchive = 0 THEN
...
END
// Single-part or multi-part archive?
ResIsMulti = zipIsMulti("MyArchive")
// Display the result
IF ResIsMulti = True THEN
Info("The archive is a multi-part archive")
ELSE
Info("The archive is a single-part archive")
END
Windows Mobile
// Open the archive named "Archive"
ResOpenArchive = zipOpen("Archive", "\Backups\Backup.zip")
IF ResOpenArchive = 0 THEN
...
END
// Single-part or multi-part archive?
ResIsMulti = zipIsMulti("MyArchive")

// Display the result
IF ResIsMulti = True THEN
Info("The archive is a multi-part archive")
ELSE
Info("The archive is a single-part archive")
END
Syntax
<Result> = zipIsMulti(<Archive>)
<Result>: Boolean
  • True if the archive is a multi-part archive,
  • False if the archive is a single-part archive.
<Archive>: Character string (with quotes) or zipArchive variable
Name of archive to use.
This name can correspond to:
Remarks

Use conditions

  • The archive type can be found only if the archive exists (an archive is created by zipCreate).
  • This function is available for the archives in WDZ, ZIP and 7z format.
Reminder:
  • LinuxiPhone/iPad Only the archives in ZIP, TAR and TGZ (TAR.GZ) format are available.
  • Windows Mobile Only the archives in ZIP format are available.

Actions that can be performed on a multi-part archive

Some archiving functions can only be used on the single-part archives (add and delete files, create a self-extracting executable, ...). To perform these operations, all you have to do is group the sub-archives (zipMerge) in order to get a single-part archive.
From a multi-part archive, you only have the ability to:

Actions that can be performed on a single-part active

All the archiving functions can be used on the single-part archives, except for zipMerge (used to merge the different parts of an archive).
Components
WINDEVWEBDEV - Server codeReports and Queries wd230zip.dll
Windows Mobile wp230zip.dll
Linux wd230zip.so
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment