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
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Determines whether an archive exists. An archive exists if it was opened by zipOpen or if it was created by zipCreate.
New in version 2025
WINDEVWindowsLinux The gzip format (.gz extension) is now supported.
Example
WINDEVUser code (UMC)
MonArchive is zipArchive
// Création de l'archive
ResCréation = zipCreate(MonArchive, "C:\Temp\Archive.zip")
...
// Test de l'existence de l'archive 
IF zipExist(MonArchive) = True THEN
	// Ajout d'un fichier dans une archive
	ResAjoutFichier = zipAddFile(MonArchive, ...
			"C:\MonRépertoire\MesFichiers\Fichier.pdf", zipDrive)
	// Affichage du message d'erreur si le fichier n'a pas été ajouté
	IF ResAjoutFichier <> 0 THEN 
		Error(zipMsgError(ResAjoutFichier))
	END
END
Syntax
<Result> = zipExist(<Archive>)
<Result>: Boolean
  • True if the archive exists,
  • False otherwise.
<Archive>: Character string or zipArchive variable
Name of the archive to be used.
This name can correspond to:
Business / UI classification: Business Logic
Component: wd300zip.dll
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help