General Guides

Search Knowledge Base by Keyword

How do I Create a Downloadable File in cPanel?

You are here:
Share:

In some instances you may find that you need to make a file available to download through your website. Essentially the file would first need to be uploaded to your website and then you’ll need to make sure that the permissions for the file have been set accordingly. To do this please review the following steps. Please note that you’ll need to first be logged into your cPanel account, if you’re not sure how to do this you can refer to the following guide: How to access cPanel

 

Step 1: Once logged into cPanel click the File Manager button

 

Step 2: Select the document root for the site that you’d like to upload the file to

Step 3: If the file is not present in  you’ll need to upload it

  1. Click the Upload button

Showing the Upload button location in the cPanel File Manager

 

  1. Click Select File

Showing the The Select file to upload interface in the cPanel File Manager

 

  1. Pick the file that you wish to upload. The upload should begin automatically
  2. Click the Go Back Link

Step 4: To make the file easier to download we are going to compress it

  1. Right click the file and select Compress

Showing the Compress icon location in the cPanel File Manager

 

  1. Select the Zip Archive option
  2. Click Compress File(s)

Showing the Compress interface in the cPanel File Manager

 

  1. Once the compression is complete click Close

Step 5: Ensure that the new zip file has 0644 permissions

Showing 0644 permissions in the cPanel File Manager

 

You should now be able to visit your domain.com/filenamehere.zip and download the file.


Share: