Learn about cPanel file manager

The Ultimate Guide To cPanel File Manager

How to upload a file using cPanel File Manager

Before proceeding with this, do understand that it is not possible to upload a folder through the cPanel File Manager >> Upload interface.

If you want a folder present before uploading the file(s), first create the new folder, then upload the file(s).

Or consider using an SFTP client.

To start, log in to cPanel

Scroll and find the Files section and then click on the File Manager icon.

Ensure that you are in the right folder or directory.

You can verify your current working directory by looking at “Go Back to “/home/$username/public_html””

Select the Upload option from the toolbar.

When the new page opens in a new tab, either highlight the files in your local machine and then drag them into the space provided.

Or use the “Select File” option to select the file you wish to upload.

cPanel is intelligent enough not to allow you to mistakenly overwrite an existing file.

So when you upload a file, it will ask you to verify that you wish to overwrite any existing file with the same name.

If you want to overwrite this/these, either:

  • tick the “Overwrite existing files” options before uploading or
  • accept that you wish to do that during the actual upload.

To upload a file via the command line, you can use Secure Copy Protocol over SSH.

Before doing this, verify that your hosting package has SSH Access enabled.

On our web hosting platform, every hosting package (except the free hosting package) has SSH access.

To copy a local file in your machine to your cPanel remote host:

scp Documents/$project/$filename $username@domain.com:/home/$username/public_html/$filename

If you want to copy multiple files from the local machine to your cPanel host machine, then:

scp Documents/$project/$filename1 $filename2 $filename3 $username@domain.com:/home/$username/public_html/$filename

To copy an entire project directory in Documents to your cPanel host machine:

scp -r Documents/$project $username@domain.com:/home/$username/public_html/$project

Pages: 1 2 3 4 5 6 7 8 9 10 11 12


Posted

in

,

by