PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • A multi-part archive can be made of a single part
  • Reminder
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 number of sub-archives (parts) found in an archive in CAB, RAR, ZIP, WDZ, 7z, TAR or TGZ (TAR.GZ) format.
Versions 17 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 18 and later
WINDEVWEBDEV - Server codeWindows This function now supports the 7z format.
New in version 18
WINDEVWEBDEV - Server codeWindows This function now supports the 7z format.
WINDEVWEBDEV - Server codeWindows This function now supports the 7z format.
Versions 21 and later
WINDEVWEBDEV - Server codeWindowsLinuxiPhone/iPad This function now supports the TAR and TGZ (TAR.GZ) formats.
New in version 21
WINDEVWEBDEV - Server codeWindowsLinuxiPhone/iPad This function now supports the TAR and TGZ (TAR.GZ) formats.
WINDEVWEBDEV - Server codeWindowsLinuxiPhone/iPad This function now supports the TAR and TGZ (TAR.GZ) formats.
WINDEVWEBDEV - Server codeReports and QueriesAjaxUser code (UMC)
// Open an archive
ResOpenArchive = zipOpen("MyArchive", "C:\MyArchives\Archive.zip")
IF ResOpenArchive = 0 THEN
...
// Number of parts found in the archive
ResNbParts = zipNbPart("MyArchive")
Info("This archive includes " + ResNbParts + " part(s)")
...
END
 
WINDEVWEBDEV - Server codeReports and QueriesAjaxUser code (UMC)
MyArchive is zipArchive
// Open an archive
ResOpenArchive = zipOpen(MyArchive, "C:\MyArchives\Archive.zip")
IF ResOpenArchive = 0 THEN
...
// Number of parts found in the archive
ResNbParts = zipNbPart(MyArchive)
Info("This archive includes " + ResNbParts + " part(s)")
...
END
 
Windows Mobile
// Open an archive
ResOpenArchive = zipOpen("MyArchive", "\MyArchives\Archive.zip")
IF ResOpenArchive = 0 THEN
...
// Number of parts found in the archive
ResNbParts = zipNbPart("MyArchive")
Info("This archive includes " + ResNbParts + " part(s)")
...
END
 
Windows Mobile
MyArchive is zipArchive
// Open an archive
ResOpenArchive = zipOpen(MyArchive, "\MyArchives\Archive.zip")
IF ResOpenArchive = 0 THEN
...
// Number of parts found in the archive
ResNbParts = zipNbPart(MyArchive)
Info("This archive includes " + ResNbParts + " part(s)")
...
END
 
Syntax
<Result> = zipNbPart(<Archive>)
<Result>: Integer
Number of parts found in the specified archive:
  • 1: if this is a single-part archive or if the multi-part archive only contains one sub-archive.
  • n: If the archive is multi-part.
<Archive>: Character string (with quotes) or zipArchive variable
Name of archive to use.
This name can correspond to:
Remarks

A multi-part archive can be made of a single part

A multi-part archive can be made of a single sub-archive (part). Indeed, when splitting an archive, the size specified for the sub-archives can be greater than the size of the archive.

Reminder

  • LinuxiPhone/iPad Only the archives in ZIP, TAR and TGZ (TAR.GZ) format are available.
  • Windows Mobile Only the archives in ZIP format are available.
Component : wd250zip.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment