# Zip the public\_html folder

**URL:** <https://forum.hestiacp.com/t/zip-the-public-html-folder/12086>\
**Category:** Uncategorized\
**Created:** [November 28, 2023, 12:55pm UTC](https://forum.hestiacp.com/t/zip-the-public-html-folder/12086 "2023-11-28T12:55:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ClaudioSpcSpa](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/c/8e8cbc/32.png) [@ClaudioSpcSpa](https://forum.hestiacp.com/u/ClaudioSpcSpa)\
**Post date:** [November 28, 2023, 12:55pm UTC](https://forum.hestiacp.com/t/zip-the-public-html-folder/12086/1 "2023-11-28T12:55:31Z")

</div>

Hello, good day, can you please tell me how to compress the public\_html directory with zip, to download it to my PC, since I lost the source files.

---

<div class="post-metadata">

**Author:** ![linkp](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/linkp/32/2863_2.png) [@linkp](https://forum.hestiacp.com/u/linkp)\
**Post date:** [November 28, 2023, 2:22pm UTC](https://forum.hestiacp.com/t/zip-the-public-html-folder/12086/2 "2023-11-28T14:22:02Z")

</div>

[zip(1) — zip — Debian bookworm — Debian Manpages](https://manpages.debian.org/bookworm/zip/zip.1.en.html)

---

<div class="post-metadata">

**Author:** ![bestperson](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/b/c2a13f/32.png) [@bestperson](https://forum.hestiacp.com/u/bestperson)\
**Post date:** [November 28, 2023, 2:32pm UTC](https://forum.hestiacp.com/t/zip-the-public-html-folder/12086/3 "2023-11-28T14:32:36Z")

</div>

FTP Filezila download and compress, as an option)

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [November 28, 2023, 3:40pm UTC](https://forum.hestiacp.com/t/zip-the-public-html-folder/12086/4 "2023-11-28T15:40:20Z")

</div>

Here one more option using file manager included in Hestia 😉

Access file manager from your user:

![image](https://forum.hestiacp.com/uploads/default/original/2X/b/b4d3520359259ff4e2965d2f5bf8be6521debfc5.png)

Navigate to `web -> your_domain -> public_html`

 ![image](https://forum.hestiacp.com/uploads/default/original/2X/8/8f8babbd5fe34e0ce0b4e7869ad1baea78e041dd.png)

Now select all files and folders:

 ![image](https://forum.hestiacp.com/uploads/default/original/2X/e/e522f7cee4b71aef5c4123a9339d8951c3264b13.png)

After selecting them, click on `Zip`.

 ![image](https://forum.hestiacp.com/uploads/default/original/2X/b/b67270bab8d8140f04e72c8822de13eaa1fce671.png)

Choose a name for the zip archive and click on `Create`.

![image](https://forum.hestiacp.com/uploads/default/original/2X/b/beaca06e94923e922f0bcce777b085b9a9f43b05.png)

When it finishes, you will see the new zip, click on it and you will be able to download it.

 ![image](https://forum.hestiacp.com/uploads/default/original/2X/9/998783e73fd34b57748bea8b74f675178912a249.png)

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [November 28, 2023, 3:47pm UTC](https://forum.hestiacp.com/t/zip-the-public-html-folder/12086/5 "2023-11-28T15:47:46Z")

</div>

Please note for larger folders / a lot of files

ssh [user@hostname.com](mailto:user@hostname.com)  
cd ~/web/domain.com/public\_html/  
zip -r folder.zip \*

Via Filegator is might be very slow…

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [December 5, 2023, 5:34pm UTC](https://forum.hestiacp.com/t/zip-the-public-html-folder/12086/6 "2023-12-05T17:34:14Z")

</div>

Split this topic on December 5, 2023, 5:34pm UTC

A post was split to a new topic: [File Manager: Unknown Error](https://forum.hestiacp.com/t/file-manager-unknown-error/12200)

---

<div class="post-metadata">

**Author:** ![system](https://forum.hestiacp.com/uploads/default/original/1X/d9a5b68bf50ced83e880b56452e592b204761b19.png) [@system](https://forum.hestiacp.com/u/system)\
**Post date:** [January 4, 2024, 5:34pm UTC](https://forum.hestiacp.com/t/zip-the-public-html-folder/12086/7 "2024-01-04T17:34:21Z")

</div>

Closed on January 4, 2024, 5:34pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
