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: 11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5   13.0   13.1    Statistic    FMM    Blog  


Add a text file to the archive.

Component Version macOS Windows Linux Server iOS SDK
Archive 13.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Archive.AddText"; Text; Encoding; FileName )   More


Parameter Description Example
Text The text to save. "Hello World"
Encoding The text encoding for text parameter.
Default is native.
FileName The file name to use.
May contain relative path parts.


Returns OK or error.


Add a text file to the archive.
Please use Archive.Create before adding the first file and use Archive.Close after the last file to finish.

See also

Release notes

Blog Entries

This function checks for a paid license.

Created 13th February 2023, last changed 17th February 2023

Archive.AddFile - Archive.Close

💬 Ask a question or report a problem

Start Chat