Skip to main content

How to create archive

The process of creating an archive can be broken down into several steps:

  1. Create a runtime archiver.
  2. Create an archive in storage or memory.
  3. Add the required files/directories to the archive as entries.
  4. Close the archive.

First, create a Runtime Archiver object.

Create Runtime Archiver node


Next, create an archive to be saved in storage or memory.

Create Archive in Storage and Create Archive in Memory nodes


Then, add the required files or directories to the archive. The files or directories in the archive are called Entries.

Add Entry From Storage and Add Entry From Memory nodes

Add Entries From Storage and Add Entries From Storage Directory nodes


If you created an archive in memory, use the following function to obtain the binary data of the archive.

Get Archive Data node


Finally, close the archive.

Close Archive node