ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

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
WEBDEV - Server codeWindowsLinux The gzip format (.gz extension) is now supported.
Example
WEBDEV - Server codeAjax
MonArchive is zipArchive
// Ouverture d'une archive
ResOuvreArchive = MonArchive.Open("C:\Archives\Archive.zip")

IF ResOuvreArchive = 0 THEN
	// Traitements
	...
	// Fermeture de l'archive
	MonArchive.Close()
END
Syntax
<Archive>.Close()
<Archive>: zipArchive variable
Name of a variable of type zipArchive corresponding to the archive to use.
Remarks

Use conditions

  • An archive can be closed only if:
  • 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:
  • Linux Only archives in ZIP, gzip, TAR and TGZ (TAR.GZ) formats are available.
Component: wd300zip.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/26/2024

Send a report | Local help