ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Archive functions
  • Use conditions
  • Actions that can be performed on a multi-part archive
  • Actions that can be performed on a single-part active
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns the type of the archive: single-part archive or multi-part archive.
MonArchive is zipArchive
// Ouverture de l'archive "MonArchive"
ResOuvreArchive = zipOpen(MonArchive, "D:\Sauvegardes\Sauvegarde.zip")
IF ResOuvreArchive = 0 THEN
	...
END
// Archive mono-partie ou multi-parties ?
ResEstMulti = zipIsMulti(MonArchive)
// Affichage du résultat
IF ResEstMulti = True THEN
	Info("L'archive est multi-parties")
ELSE
	Info("L'archive est mono-partie")
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 or zipArchive variable
Name of the archive to be used.
This name can correspond to:
Remarks

Use conditions

  • The archive type can be found only if the archive exists (archives are created using zipCreate).
  • This function is available for WDZ, ZIP and 7z archives.
Linux Reminder: Only ZIP, TAR, gzip and TGZ (TAR.GZ) archives are available.

Actions that can be performed on a multi-part archive

Some archiving functions can only be used with single-part archives (add and delete files, create a self-extracting executable, etc.). To perform these operations, simply merge the sub-archives (zipMerge) to obtain a single-part archive.
From a multi-part archive, you can only:

Actions that can be performed on a single-part active

All archiving functions can be used on single-part archives, except zipMerge, which is used to merge the different parts of an archive.
Business / UI classification: Business Logic
Component: wd300zip.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help