Skip to content
uPress Knowledge base

Compressing and extracting archives in File Manager

Create a ZIP file, extract an archive to a destination folder, and verify the resulting files.

3 min read Updated

On this page
  1. Creating a ZIP file
  2. Extracting to a separate folder
  3. Compression or extraction fails

The screenshots show the Hebrew interface. The instructions below use the English interface labels.

You can package a file or folder into a ZIP file or extract an archive uploaded to the site. Both actions are available in File Manager.

A file archive is not necessarily a complete site backup. Compressing the site's folder, for example, does not automatically include a database copy.

Creating a ZIP file

1. Open the site and go to Development → File Manager. Open the folder containing the item you want to compress.

2. Right-click the file or folder and select Compress to a ZIP file.

3. Enter a unique ZIP file name, such as demo-package.zip. As the form explains, use Latin letters, digits, dots, and hyphens. The .zip extension is added if missing.

The compression form with the name demo-package.zip
The archive is saved in the same folder as the selected item.

4. Click Compress and wait for confirmation that the file was created. Check that it appears in the list. To save it to your computer, use Download, then check that the archive opens and contains the intended items.

Extracting to a separate folder

5. Open the folder containing the archive. Right-click its row and select Extract the archive.

A ZIP file actions menu with Extract the archive
Extraction appears in the menu for a supported archive file.

6. Enter the destination in Extract into another folder (optional). Prefer an empty folder prepared in advance, such as /kb-demo/unpacked. If the field is empty, extraction takes place in the archive's current folder.

7. Check the files already at the destination. Files with matching names may be replaced. Tick the confirmation only after checking the destination and backing up anything that could be overwritten.

The extraction form with a separate destination and overwrite confirmation
The example uses an empty unpacked folder. The confirmation concerns matching filenames in the destination.

8. Click Extract and wait for The archive was extracted.

9. Open the destination and check the files, folders, and contents. A success message does not replace checking that the expected files are there.

The extracted text file in the unpacked folder
After extraction, the demonstration file appears in the destination folder.

Compression or extraction fails

If the archive name already exists, choose another. The panel lists these supported extraction formats: .zip, .tar.gz, and .gz. Renaming a regular file's extension does not make it an archive. If an error appears, check that the file is valid and comes from a source you trust.

Do not leave archives containing passwords, connection details, or private information in a publicly accessible site folder. Keep them in private storage and remove them from the public folder when no longer needed.

Was this article helpful?