Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

ZipFile.WriteHex

Writes data into the zip archive.

Component Version macOS Windows Linux Server iOS SDK
Compression 3.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "ZipFile.WriteHex"; text )   More

Parameters

Parameter Description Example
text The text to write. "48656C6C6F20576F726C64"

Result

Returns "OK" on success.

Description

Writes data into the zip archive.
The data is encoded as hex string, so you can pass any byte values as a text. The hex string is decoded before writing.
Please use ZipFile.CreateFile first to create a new file before writing to it.

Examples

Creates a text file:

MBS( "ZipFile.CreateFile"; "test.txt"; $date )
MBS( "ZipFile.WriteHex"; "48656C6C6F20576F726C64" )

See also

Example Databases

Created 18th August 2014, last changed 18th August 2014


ZipFile.WriteFile - ZipFile.WriteText

Feedback: Report problem or ask question.