AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de archivos
  • Use conditions
  • Actions that can be performed on a multi-part archive
  • Actions that can be performed on a single-part active
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Returns the type of the archive: single-part archive or multi-part archive.
MyArchive is zipArchive
// Open the archive "MyArchive"
ResOpenArchive = zipOpen(MyArchive, "D:\Backups\Backup.zip")
IF ResOpenArchive = 0 THEN
	...
END
// Single-part or multi-part archive?
ResIsMulti = zipIsMulti(MyArchive)
// Display the result
IF ResIsMulti = True THEN
	Info("The archive is a multi-part archive")
ELSE
	Info("The archive is a single-part archive")
END
Sintaxis
<Result> = zipIsMulti(<Archive>)
<Result>: Boolean
  • True if the archive is a multi-part archive,
  • False if the archive is a single-part archive.
<Archive>: Character string or zipArchive variable
Name of the archive to be used.
This name can correspond to:
Observaciones

Use conditions

  • The archive type can be found only if the archive exists (archives are created using zipCreate).
  • This function is available for WDZ, ZIP and 7z archives.
LinuxiPhone/iPadIOS WidgetMac Catalyst Reminder: Only ZIP, TAR, gzip and TGZ (TAR.GZ) archives are available.

Actions that can be performed on a multi-part archive

Some archiving functions can only be used with single-part archives (add and delete files, create a self-extracting executable, etc.). To perform these operations, simply merge the sub-archives (zipMerge) to obtain a single-part archive.
From a multi-part archive, you can only:

Actions that can be performed on a single-part active

All archiving functions can be used on single-part archives, except zipMerge, which is used to merge the different parts of an archive.
Clasificación Lógica de negocio / UI: Lógica de negocio
Componente: wd300zip.dll
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

Señalar un error o enviar una sugerencia | Ayuda local