Chapter 6Complete cPanel Guide For Beginners

Managing Website Files in cPanel: File Manager and FTP

How to use File Manager and FTP to manage website files in cPanel. Complete guide to uploading, editing, and organizing your website files.

May 20, 2025
By Willya Randika
Managing Website Files in cPanel: File Manager and FTP

Once you understand how to set up an email account on cPanel, the next step is to learn how to manage website files. This is one of the most important functions in cPanel because it allows you to upload, edit, and organize your website files.

Introduction to File Management in cPanel

The “Files” section of cPanel allows you to upload files, back up websites, manage File Transfer Protocol (FTP) and also view disk usage.

By the way, FTP is another way to manage your website files, where with FTP you can also upload files to your hosting.

So, I will explain about managing these files in two ways, namely using "File Manager" and "FTP".

In the Files section, you will find several key features:

  1. File Manager - To manage files directly from the browser
  2. Disk Usage - To check disk space usage3. FTP Accounts - To create and manage FTP accounts
  3. Backup - To backup and restore website files
  4. Images - To manage and optimize images
  5. Web Disk - To access hosting files as a virtual drive

Let's discuss the two main methods for managing files: File Manager and FTP.

Using File ManagerFile Manager on cPanel allows you to manage all website files without the need to use an FTP application or other applications that you need to download first on your computer.

First of all, click "File Manager", then you will be directed to the page below:

Bagian Files di cPanel

This is where all your website files are stored, so make sure you are careful when making changes.

Root Folder and Sub

  • Folders

Basically, this File Manager is not much different from the file manager on a computer.

First, on the left you can find the root folder (/home/…) and sub folders, as marked by the red box below:

Struktur root folder dan sub-folder di File Manager cPanel

Selected Folder / Selected Folder

Then on the right side, you can see content, such as folders and text, which will be visible when you select/click the sub-folder on the left side.

Bagian kanan File Manager menampilkan isi folder

Knowing the things above, (again) just like the file manager on your computer, you can also create new folders and upload files.

Create a New Folder

Folders help you keep your website files organized and make your website structure easy to understand.

To create a new folder, click the "+ Folder" button at the top left of your "File Manager" display, as shown below:

Tombol untuk membuat folder baru di File Manager cPanel

Then a pop-up will appear as below and you will be asked to enter the name of the folder and also where you placed the folder.

Pop-up untuk memasukkan nama dan lokasi folder baru di File Manager cPanel

When finished, click "Create New Folder".

Uploading Files Using File Manager

To add a file - for example, a Word/PDF file that you want people to be able to download from your website - you first need to decide where you want to place the file.

For example, in the image below, I select "etc" (1), then click "Upload":

Tombol upload file di File Manager cPanel

Finally, you will be asked to select the file you want to upload or just drag the file to the upload page as shown below:

Antarmuka untuk mengupload file dengan drag and drop di File Manager cPanel

Other Features in File Manager

Apart from creating folders and uploading files, File Manager also provides various other features:

  1. Edit File - Edit text files directly in the browser

  2. View - View the contents of a file without editing it

  3. Copy/Move - Copy or move files and folders

  4. Rename - Rename files and folders

  5. Delete - Deletes files and folders

  6. Permissions - Set file access permissions (chmod)

  7. Extract - Extracts archive files such as ZIP, TAR, GZ

  8. Compress - Creates an archive file from files and folders

Best Practices Using File Manager

Here are some best practices when using File Manager:

  1. Always backup before editing - Make a copy of the file before editing it

  2. Pay attention to file permissions - Set file permissions correctly (usually 644 for files, 755 for folders)

  3. Use the search feature - Make use of the search feature to find files quickly

  4. Do not delete system files - Be careful when deleting files, especially in system folders

  5. Use an appropriate editor - Select an editor appropriate to the type of file being edited

Using FTP Account

In fact, if you have already created a cPanel account, you should be able to directly use your cPanel username and password to log in to your FTP.

However, what if you want to give someone permission to be able to upload files using an FTP client (like FileZilla as an example).

Of course you don't want to give away your cPanel username and password, right?

Therefore, you need a new username and password that will be used by someone other than you to be able to access your FTP.

First of all, click “FTP Accounts” in your cPanel.

Bagian FTP Accounts di cPanel

And you will be directed to the "FTP Accounts" page as below:

Halaman membuat akun FTP baru di cPanel
Then follow these steps:
  1. Login: This log in name will be used by other users, so make sure you create a name that is easy to remember.

2. Password: make sure you always create a secure password, use numbers, a combination of upper and lower case letters, letters, etc. or for convenience use a password generator and don't forget to save it.

3. Directory: "The "Directory" column here means access to the highest level of the new FTP Account that you created, let's say you entered public_html in the "directory" column, that means the FTP Account that you created has access to the directory /home/$user/public_html down to its sub-directories.

4. Quota: Finally, you need to determine how much quota or space is needed for the FTP account you just created. This quota can be limited or unlimited.

Manage FTP Accounts

Now you can manage all your FTP accounts in the section below, such as changing passwords, changing quotas, deleting FTP accounts and setting up FTP clients.

Daftar dan opsi pengelolaan FTP Accounts di cPanel

Using FTP Client

To use FTP, you need an F

T

P client such as File

Zilla. Here are the steps to use File

Zilla:

  1. Download and install FileZilla from Filezilla Project.org official site

  2. Open FileZilla and click “File > Site Manager”3. Click “New Site” and give it a name4. Enter connection information: * Host: ftp.yourdomain.com (or server IP)

  • Ports: 21
    • Protocol: FTP - File Transfer Protocol
    • Encryption: Use explicit FTP over TLS if available
    • Logon Type: Normal
    • User: your FTP username
    • Password: your FTP password
  1. Click “Connect” to connect to the serverOnce connected, you will see a panel with a folder structure:
  • The left pane displays local files on your computer
  • The right panel displays files on the hosting server

You can drag files from one panel to another to upload or download files.

Benefits of Using FTP

F

T

P has several advantages over File Manager:

  1. Faster file transfer - Especially for large files or many files at once
  2. Stable connection - Not affected by browser timeouts
  3. Easy drag and drop - Makes bulk file transfers easy
  4. Folder synchronization - Some FTP clients support folder synchronization
  5. Offline access - Some FTP clients allow you to view the folder structure offline

Best Practices Using FTP

Here are some best practices when using F

TP:

  1. Use SFTP or FTPS - More secure than regular FTP

  2. Restrict directory access - Give access only to necessary folders

  3. Set quota - Set disk usage limits to prevent misuse

  4. Use strong passwords - Avoid passwords that are easy to guess

  5. Delete unused accounts - Don't let inactive FTP accounts persist

File Manager vs F

TP: When to Use Each?

Both methods have advantages and disadvantages. Here's a guide to when to use each:

Use File Manager when:

  • You need to make small, quick changes
  • You don't want to install additional software
  • You access from different computers
  • You need to edit files directly on the server
  • You only need to upload a few small files

Use F

T

P when:

  • You need to upload multiple files at once
  • You are working with large files
  • You need to synchronize local and server folders
  • You are working with an unstable internet connection
  • You need to give limited access to others

Conclusion

Managing website files is an important skill in managing your website. By understanding how to use File Manager and FTP, you can easily upload, edit, and organize your website files.

In next chapter, we will learn how to backup website files in cPanel, an important step to protect your website data.

Safety Tips

Always set file permissions correctly to prevent unauthorized access. Regular files should be set to 644 (owner can read and write, group and public can only read), and folders should be set to 755 (owner can read, write, and execute, group and public can only read and execute).