How to Compress and Download a Folder in cPanel

cPanel File Manager can download single files, but not whole folders. The trick is to compress the folder into a ZIP file first, then download that one file. This guide shows you how to compress and download a folder in cPanel - handy for grabbing a copy of your website, a folder of images, or files a developer asked for.

How to compress a folder in cPanel

  1. In cPanel, go to Files > File Manager.
  2. Browse to the folder you want. To download your entire website, open your home folder and select public_html; to download only part of it, open public_html and select the folder inside it.
  3. Click the folder once to select it. To include several items, hold Ctrl (Windows) or Command (Mac) and click each one.
  4. Click Compress in the toolbar, or right-click and choose Compress.
  5. Choose Zip Archive as the compression type. ZIP files open on any Windows or Mac computer without extra software.
  6. Check the path and file name for the new archive at the bottom of the window, for example /public_html/website-backup.zip. Change the name if you like.
  7. Click Compress File(s).
  8. Wait for the Compression Results window, then close it. Large folders can take a minute or two.

How to download the ZIP file

  1. Click Reload in the File Manager toolbar if the new ZIP file isn't showing.
  2. Click the ZIP file once to select it.
  3. Click Download in the toolbar (or right-click it and choose Download).
  4. Your browser saves the file to your usual downloads folder.

Delete the ZIP file afterwards

The ZIP file uses disk space on your Instant Access Internet Services hosting account, and if it's inside public_html anyone who guesses its name could download it. Once your download is complete:

  1. Select the ZIP file in File Manager and click Delete.
  2. To free the space immediately, click View Trash and then Empty Trash.

Tip: to avoid the file ever being public, set the archive path to your home folder instead of public_html (for example /website-backup.zip).

Want a complete backup instead?

Compressing public_html copies your website files only. It does not include your databases (which WordPress and most other website software store content in) or your email. For a full copy:

Troubleshooting

Compress fails or the ZIP is empty

The most common cause is running out of disk space - the ZIP needs room while it's being created. Check your disk usage on the cPanel home page (see Understanding cPanel Statistics: Disk Space, Bandwidth and Databases) and delete old archives or backups you don't need. You can also compress smaller folders one at a time.

The download is very slow or stops

Large downloads can be interrupted by a flaky connection. An FTP program such as FileZilla can resume interrupted downloads and can download folders directly without compressing them - see How to Connect to Your Website with FileZilla (FTPS).

Some files are missing from the ZIP

Hidden files such as .htaccess are included in the archive even if File Manager isn't showing them. When you open the ZIP on a Mac or Windows computer, those files may be hidden there too. See How to Show Hidden Files (.htaccess) in cPanel File Manager.

How do I open a .tar.gz file?

If you chose a GZip or BZip2 archive instead of ZIP, Mac can open it by double-clicking. On Windows 11, File Explorer can open .tar.gz files, or you can use a free tool such as 7-Zip.

Related guides

Still stuck? Open a support ticket and the Instant Access Internet Services team will help.

Ultrafast LiteSpeed hosting from InstantAccess.net: free SSL, free backups, cPanel included, no contracts. Check out our $10/month hosting.
  • download folder cpanel, compress folder cpanel, zip folder cpanel, download website files, cpanel file manager download, download public_html
  • 0 brukere syntes dette svaret var til hjelp
Var dette svaret til hjelp?

Relaterte artikler

How to Show Hidden Files (.htaccess) in cPanel File Manager

If you are looking for your .htaccess file and it isn't there, it's almost certainly just hidden....

How to Use cPanel File Manager to Manage Your Website Files

cPanel File Manager lets you work with your website files right in your web browser -- no FTP...

How to Edit a File in cPanel File Manager

Instant Access Internet Services customers can edit a file in cPanel File Manager right in the...

How to Upload and Extract a ZIP File in cPanel

The fastest way to put a whole website or a folder full of files on yInstant Access Internet...

File and Folder Permissions Explained (644 and 755)

File and folder permissions control who can read, change and run the files on your website. Most...