Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Component: Compression

Functions to handle Zip and gzip files.

Please use Archive functions for newer projects.

Version macOS Windows Linux Server iOS SDK
3.4 / 6.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes

Item Details
GZipFile.Compress
Compresses a file.
All
4.2
GZipFile.Decompress
Decompresses a file.
All
4.2
UnZipFile.Close
Closes the current zip file.
All
3.4
UnZipFile.ExtractFiles   Deprecated
Extracts all files from current archive into a folder.
All
6.0
UnZipFile.GlobalComment
Reads the global comment of the zip archive.
All
3.4
UnZipFile.ItemCRC
Queries the checksum for a file.
All
3.4
UnZipFile.ItemComment
Queries the file comment of the given item.
All
3.4
UnZipFile.ItemCompressedSize
Queries compressed item size.
All
3.4
UnZipFile.ItemCompressionMethod
Queries the compression method used for this item.
All
3.4
UnZipFile.ItemCount
Queries number of items in the archive.
All
3.4
UnZipFile.ItemDate
Queries file date of item.
All
3.4
UnZipFile.ItemDiskNumberStart
Queries the disk number start.
All
3.4
UnZipFile.ItemExternalFileAttributes
Queries the external file attributes for this item.
All
3.4
UnZipFile.ItemFlag
Queries the flags for this item.
All
3.4
UnZipFile.ItemInternalFileAttributes
Queries the internal file attributes for this item.
All
3.4
UnZipFile.ItemName
Queries the file name of the given item.
All
3.4
UnZipFile.ItemSizeFileComment
Queries the size of the comment in bytes.
All
3.4
UnZipFile.ItemSizeFileExtra
Queries the size of extra file data.
All
3.4
UnZipFile.ItemSizeFileName
Queries the size of the file name.
All
3.4
UnZipFile.ItemUncompressedSize
Queries uncompressed item size.
All
3.4
UnZipFile.ItemVersion
Queries the version number of the zip format used to create this entry.
All
3.4
UnZipFile.ItemVersionNeeded
Returns the version needed to uncompress this entry.
All
3.4
UnZipFile.OpenContainer   Deprecated
Opens a zip archive stored in a container.
All
3.4
UnZipFile.OpenFile   Deprecated
Opens a zip archive file.
All
3.4
UnZipFile.ReadAsFileContainer
Reads the file with given index as container value with data.
All
3.4
UnZipFile.ReadAsGIFContainer
Reads the file with given index as container value with GIF data.
All
3.4
UnZipFile.ReadAsHex
Reads the file with given index as data and return hex text.
All
3.4
UnZipFile.ReadAsJPEGContainer
Reads the file with given index as container value with JPEG data.
All
3.4
UnZipFile.ReadAsPNGContainer
Reads the file with given index as container value with PNG data.
All
3.4
UnZipFile.ReadAsText
Reads the file with given index as text.
All
3.4
UnZipFile.ReadToFile
Reads file from archive and writes it to a new file.
All
3.4
UnZipFile.UsePassword
Sets the password to use for uncompressing.
All
5.1
ZipFile.CRCFile
Calculates CRC of a file.
All
4.3
ZipFile.Close
Closes the zip archive.
All
3.4
ZipFile.CompressFiles   Deprecated
Compresses a few files into a zip archive.
All
6.0
ZipFile.CreateFile   Deprecated
Creates a new file in the zip archive.
All
3.4
ZipFile.Open   Deprecated
Creates a new zip archive.
All
3.4
ZipFile.SetCompressionLevel
Sets the compression level.
All
3.4
ZipFile.UsePassword
Sets the password to use for compressing.
All
5.1
ZipFile.WriteContainer
Writes a file to the zip archive with content from a container.
All
3.4
ZipFile.WriteFile
Reads a file and writes it to the zip archive.
All
3.4
ZipFile.WriteHex
Writes data into the zip archive.
All
3.4
ZipFile.WriteText
Writes a text into the zip archive.
All
3.4

43 functions shown.

These functions require a license (100%).

Blog Entries

FileMaker Magazin