File Compression and Decompression

Prev Next

Introduction

This subsection describes various functions compress and decompress files. The data compression and decompression features are implemented in B4P in the library file 'Zip Library' and makes use of the zip program in the standard installation (Linux, MacOS) or relies on the installed 7-Zip program on Windows installations because 7-zip provides a set of compression and decompression commands which Windows does not. See 7-zip for details.

Note: All Microsoft office featuers, e.g. loading Excel files, rely on these file compression and decompression functions.


Procedures and Functions Provided:


File comporession and decompression:
    zip compress
    zip extract files
    zip extract all