ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

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).
Example
WINDEVWEBDEV - Server codeReports and QueriesUser code (UMC)Ajax
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
  • LinuxUniversal Windows 10 AppiPhone/iPadIOS WidgetMac Catalyst Only ZIP, TAR and TGZ (TAR.GZ) archives are available.
  • AndroidAndroid Widget Java Only ZIP archives are available.
Business / UI classification: Business Logic
Component: wd280zip.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment