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
  • Use conditions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Closes an archive.
New in version 2025
WINDEVWEBDEV - Server codeWindowsLinuxiPhone/iPad The gzip format (.gz extension) is now supported.
WINDEVWEBDEV - Server codeUser code (UMC)Ajax
MonArchive is zipArchive
// Ouverture d'une archive
ResOuvreArchive = zipOpen(MonArchive, "C:\Archives\Archive.zip")

IF ResOuvreArchive = 0 THEN
	// Traitements
	...
	// Fermeture de l'archive
	zipClose(MonArchive)
END
Syntax
zipClose(<Archive>)
<Archive>: Character string or zipArchive variable
Name of the archive to be used.
This name can correspond to:
Remarks

Use conditions

  • An archive can be closed only if:
    • The archive is opened. Archives are opened with zipOpen.
    • The archive exists. Archives are created with zipCreate.
  • All the archives will be automatically closed when the application is stopped.
  • A WLanguage error occurs if the archive to close does not exist. The program is stopped.
Reminder:
  • 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