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
  • Reminder
  • Error while adding or extracting files
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns the name of the archived file currently handled by the functions for adding and extracting files. This function can be used on archives in CAB, RAR, WDZ, ZIP, gzip, TAR and TGZ (TAR.GZ) formats.
New in version 2025
WINDEVWEBDEV - Server codeWindowsLinuxiPhone/iPad The gzip format (.gz extension) is now supported.
WINDEVWEBDEV - Server codeReports and QueriesAjax
Archive is zipArchive

FOR Indice = 1 TO 5
	// Extraction des 5 premiers fichiers de l'archive
	ResExtraitFichier = zipExtractFile(Archive, Indice)
	...
	// Recherche du nom du fichier en cours d'extraction
	ResFichierEnCours = zipCurrentFile(Archive)
	// Affichage du nom du fichier dans la barre de message
	Message(ResFichierEnCours)
	...
END
Syntax
<Result> = zipCurrentFile(<Archive>)
<Result>: Character string
File currently handled by zipAddFile, zipAddDirectory, zipExtractFile or zipExtractAll.
<Archive>: Character string or zipArchive variable
Name of the archive to be used.
This name can correspond to:
Remarks

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.

Error while adding or extracting files

If an error occurs during the addition or extraction processes, zipCurrentFile contains the name of the file that was not read or written in the archive.
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