ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2024

Category: Archive functions
100 results
Adds all the files found in a directory and in its subdirectories into an archive and compresses them.
Adds a file (of any type) into an archive in CAB, ZIP, WDZ and 7z, TAR or TGZ (TAR.GZ) format and compresses it.
Adds a list of files (of any type) into an archive in ZIP, CAB, WDZ or 7z format and compresses it.
Modifies the stored path of a file in an archive (in ZIP, WDZ or 7z format).
Closes an archive.
Creates an archive.
Creates a self-extracting archive as a 32-bit executable (.EXE).
Returns the name of the archived file currently handled by the functions for adding and extracting files.
Deletes all files from an archive.
Deletes a file from an archive.
Deletes a list of files from an archive.
Determines whether an archive exists.
Extracts all files from an archive and decompresses them.
Automatically extracts and decompresses files from a directory in the file tree of an archive to a physical location.
Extracts a file from an archive and automatically decompresses it to a physical location or in memory.
Extracts and decompresses a list of files found in an archive to a physical location.
Returns the path of a file found in the archive.
Returns the size of one of the files found in the archive (in CAB, RAR, WDZ, ZIP, 7z, TAR or TGZ (TAR.GZ) format):
  • the compressed size of the file.
  • the size of file before compression.
Finds a file in an archive (in CAB, ZIP, RAR, WDZ or 7z format).
Returns the characteristics of a file found an archive:
  • The name of the file and its stored path.
  • The initial size of the file.
  • The compressed size of file.
  • The date and time of file creation.
  • The date and time of file modification.
  • The date and time of file access.
  • The file attributes.
  • The file encryption mode.
Returns the type of archive: single-part archive or multi-part archive.
Returns the list of files found in an archive.
Merges the different sub-archives found in a multi-part archive to create a single-part archive.
Returns the number of parts of a given size required to split a single-part archive.
Opens an existing archive.
Opens an existing archive in CAB format.
Opens an existing archive in RAR format.
Splits an archive into several sub-archives of a given size.
Selects files from an archive.
List of archiving functions (management of ZIP, WDZ, CAB, RAR, 7z, TAR and TGZ (TAR.GZ))
List of archiving functions (management of ZIP, WDZ, CAB, RAR, 7z, TAR and TGZ (TAR.GZ))
List of constants used by the archiving functions.
WINDEV, WEBDEV and WINDEV Mobile propose several WLanguage functions allowing you to compress and merge your files into archives...
Two types of archives are available...
6 documents
Usage example of the zipAddDirectory function
Adds all the files found in a directory and in its subdirectories into an archive and compresses them.
Usage example of the zipAddFile function
Adds a file (of any type) into an archive in CAB, ZIP, WDZ and 7z, TAR or TGZ (TAR.GZ) format and compresses it.
Adds a list of files (of any type) into an archive in ZIP, CAB, WDZ or 7z format and compresses it.
The zipArchive type is used to handle an archive file in one of the following formats: ZIP, CAB, RAR or WDZ.
The zipArchivedFile type is used to handle a file found in an archive in one of the following formats: ZIP, CAB, RAR or WDZ or a file to add into an archive.
Usage example of the zipChangePath function
Modifies the stored path of a file in an archive (in ZIP, WDZ or 7z format).
Usage example of the zipClose function
Closes an archive.
Changes the compression level used when creating an archive in ZIP format or in 7z format.
Usage example of the zipCreate function
Creates an archive.
Usage example of the zipCreateExe function
Creates a self-extracting archive as a 32-bit executable (.EXE).
Usage example of the zipCurrentFile function
Returns the name of the archived file currently handled by the functions for adding and extracting files.
Usage example of the zipDeleteAll function
Deletes all files from an archive.
Usage example of the zipDeleteFile function
Deletes a file from an archive.
Deletes a list of files from an archive.
Used to find out whether an archive exists.
Usage example of the zipExtractAll function
Extracts all files from an archive and decompresses them.
Automatically extracts and decompresses files from a directory in the file tree of an archive to a physical location.
Usage example of the zipExtractFile function
Extracts a file from an archive and automatically decompresses it to a physical location or in memory.
Extracts and decompresses a list of files found in an archive to a physical location.
Usage example of the zipExtractPath function
Returns the path of a file found in the archive.
Usage example of the zipFileSize function
Returns the size of one of the files found in the archive (in CAB, RAR, WDZ, ZIP, 7z, TAR or TGZ (TAR.GZ) format):
  • the compressed size of the file.
  • the size of file before compression.
Returns the list of archive formats supported by the current platform, in the format expected by the filter of fSelect.
Usage example of the zipFindFile function
Finds a file in an archive (in CAB, ZIP, RAR, WDZ or 7z format).
Usage example of the zipInfoFile function
Returns the characteristics of a file found an archive:
  • The name of the file and its stored path.
  • The initial size of the file.
  • The compressed size of file.
  • The date and time of file creation.
  • The date and time of file modification.
  • The date and time of file access.
  • The file attributes.
  • The file encryption mode.
Usage example of the zipIsMulti function
Returns the type of archive: single-part archive or multi-part archive.
Usage example of the zipListFile function
Returns the list of files found in an archive.
Usage example of the zipMerge function
Merges the different sub-archives found in a multi-part archive to create a single-part archive.
Usage example of the zipMsgError function
Returns the message associated with an error code on an archive.
Usage example of the zipNbFile function
Returns the number of files found in an archive (in CAB, RAR, ZIP, WDZ or 7z format).
Usage example of the zipNbPart function
Returns the number of sub-archives (parts) found in an archive in CAB, RAR, ZIP, WDZ, 7z, TAR or TGZ (TAR.GZ) format.
Usage example of the zipNbPartNeeded function
Returns the number of parts of a given size required to split a single-part archive.
Usage example of the zipOpen function
Opens an existing archive.
Usage example of the zipOpenCAB function
Opens an existing archive in CAB format.
Usage example of the zipOpenRAR function
Opens an existing archive in RAR format.
Defines the password used to add files into the specified archive and to extract files from the specified archive (RAR, ZIP and WDZ format).
Selects files from an archive.
Usage example of the zipSize function
Returns the size of archive (in ZIP, RAR, CAB, WDZ or 7z format):
  • the size of all compressed files found in the archive.
  • the size of all files found in the archive before compression.
Usage example of the zipSplit function
Splits an archive into several sub-archives of a given size.