Platforms to show: All Mac Windows Linux Cross-Platform

ZipMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Compression MBS Compression Plugin 8.6 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: The class for writing to a zip file.
This is a simple class which uses zlib and has some limitations:

  • only deflate as compression method
  • only one date per file is preserved
  • no resource forks on Mac OS
  • no encoding handling
  • no Apple or Microsoft extensions for special file flags or permissions.

But it works nice to provide a zip file to clients. For example a download of JPEG files in an archive with one download from Web Edition.

Be aware that you can't compress Mac applications with this class, as the we don't preserve permissions, so the decompressed file has not the right flags set to make it executable.

See also ArchiveReaderMBS and ArchiveWriterMBS classes for more features and compression formats.

This class has no sub classes.

Some examples using this class:

Blog Entries

Xojo Developer Magazine

The items on this page are in the following plugins: MBS Compression Plugin.

ZipFileInfoMBS   -   ZLibCompressMBS

Feedback: Report problem or ask question.

The biggest plugin in space...

Start Chat