How do I Create a Downloadable File in cPanel?
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
- Click the Upload button
- Click Select File
- Pick the file that you wish to upload. The upload should begin automatically
- Click the Go Back Link
Step 4: To make the file easier to download we are going to compress it
- Right click the file and select Compress
- Select the Zip Archive option
- Click Compress File(s)
- Once the compression is complete click Close
Step 5: Ensure that the new zip file has 0644 permissions
You should now be able to visit your domain.com/filenamehere.zip and download the file.