PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • 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 18 and later
Windows This function now supports the 7z format.
New in version 18
Windows This function now supports the 7z format.
Windows This function now supports the 7z format.
// Ouverture de l'archive "MonArchive"
ResOuvreArchive = zipOpen("MonArchive", "D:\Sauvegardes\Sauvegarde.zip")
// Pour Windows Mobile:
// ResOuvreArchive = zipOuvre("MonArchive", "\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
MonArchive is zipArchive
 
// Ouverture de l'archive "MonArchive"
ResOuvreArchive = zipOpen(MonArchive, "D:\Sauvegardes\Sauvegarde.zip")
// pour Windows Mobile:
// ResOuvreArchive = zipOuvre("MonArchive", "\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 (with quotes) or zipArchive variable
Name of archive to use.
This name can correspond to:
Remarks

Use conditions

  • The archive type can only be searched for if the archive exists (an archive is created with function zipCreate).
  • This function is available for the archives in WDZ, ZIP and 7z format.
Reminder:

    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, etc.). To perform these operations, it is sufficient to group the sub-archives (zipMerge) to obtain 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 single-part archives, except for the zipMerge function (allowing the different parts of an archive to be grouped together).
    Business / UI classification: Business Logic
    Component: wd260zip.dll
    Minimum version required
    • Version 9
    This page is also available for…
    Comments
    Click [Add] to post a comment