ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Archive functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the number of files found in an archive (in CAB, RAR, ZIP, WDZ, 7z, TAR or TAGZ format).
WEBDEV - Server codeAjax
MyArchive is zipArchive
// Open an archive
ResOpenArchive = zipOpen(MyArchive, "C:\MyArchives\Archive.zip")
IF ResOpenArchive = 0 THEN
...
// Number of files in the archive
ResNbFiles = zipNbFile(MyArchive)
Info(ResNbFiles + " files found in this 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
  • Linux Only ZIP, TAR and TGZ (TAR.GZ) archives are available.
Business / UI classification: Business Logic
Component: wd290zip.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/12/2023

Send a report | Local help