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 number of files in an archive (in CAB, RAR, ZIP, WDZ, 7z, gzip, TAR or TAGZ format).
WINDEVWEBDEV - Server codeReports and QueriesUser code (UMC)Ajax
MonArchive is zipArchive
// Ouverture d'une archive
ResOuvreArchive = zipOpen(MonArchive, "C:\MesArchives\Archive.zip")
IF ResOuvreArchive = 0 THEN
	...
	// Nombre de fichiers dans l'archive
	ResNbFichier = zipNbFile(MonArchive)
	Info(ResNbFichier + " fichiers présents dans cette archive") 
	...
END
Syntax
<Result> = zipNbFile(<Archive>)
<Result>: Integer
Number of files in the specified archive.
<Archive>: Character string or zipArchive variable
Name of the archive to be used.
This name can correspond to:
Remarks
  • LinuxiPhone/iPadIOS WidgetMac Catalyst Only archives in ZIP, gzip, TAR and TGZ (TAR.GZ) formats are available.
  • AndroidAndroid Widget Java Only ZIP archives are available.
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