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
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns the size of the archive (in ZIP, RAR, CAB, WDZ, 7z, gzip, TAR or TGZ (TAR.GZ) format):
  • the size of all compressed files found in the archive.
  • the size of all files found in the archive before compression.
When extracting files from an archive, we recommend that you calculate the size of all the files before compression in order to check that you have enough disk space.
Reminder:
  • Linux Only archives in ZIP, gzip, TAR and TGZ (TAR.GZ) formats are available.
  • Java Only ZIP archives are available.
New in version 2025
WINDEVWindowsLinux The gzip format (.gz extension) is now supported.
WINDEVUser code (UMC)
MonArchive is zipArchive

// Ouverture d'une archive
ResOuvreArchive = zipOpen(MonArchive, "C:\MesArchives\Archive.zip")

// Taille de l'archive ouverte
IF ResOuvreArchive = 0 THEN
	ResTailleArchive = zipSize(MonArchive)
	...
END
Syntax
<Result> = zipSize(<Archive> [, <Type of size>])
<Result>: Integer
Size of archive.
<Archive>: Character string or zipArchive variable
Name of the archive to be used.
This name can correspond to:
<Type of size>: Optional boolean
Type of calculation performed to get the size of the archive:
  • True: Size of all compressed files in the archive.
  • False (default value): Size of all files in the archive before compression.
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