Manage files and folders on your website

How to use the File Manager in cPanel

Marc

Last Update 25 days ago


This topic covers processes related to both cPanel and CloudPanel services. You will need to be logged into yout cPanel/CloudPanel account to follow the steps.


If you're not sure how to access your cPanel service — please, follow this guide before continuing: How do I Login to cPanel?.


If you're not sure how to access your CloudPanel service — please, follow this guide before continuing: How do I Login to CloudPanel?.


cPanel

The cPanel File Manager provides a user-friendly interface for managing files and folders/directories, allowing for easy uploads, downloads, and file operations directly from your web browser, which simplifies website management and maintenance.

Accessing the File Manager

1. First, login to cPanel.

2. Access the 'File Manager' tool, located in the "Files" section of the cPanel tools list


3. Once you are in the File Manager interface, you can begin managing the files and folders stored on your hosting service.


The File Manager is composed of 3 main parts:


  • The Directory Tree (left sidebar)
    • This shows the overall directory structure
    • You can expand and collapse folders by clicking the + or - icons next to them.

  • The File List (main/right window)
    • This shows the contents of the selected folder. This is where you can view, edit, upload, and manage your files.
    • You can sort files by name, size, type, or last modified date by clicking on the column headers


  • The Navigation Toolbar (top menu)
    • At the top, you’ll see a toolbar with options like New File, New Folder, Upload, Copy, Move, Delete, and more.
    • Use this toolbar to perform actions on files and folders.

Basic navigation

Selecting a Directory

  • Click on any folder in the left sidebar to navigate to that directory. The contents will be displayed in the main window.
  • You can double-click a folder in the main window to open it.


Navigating Up

  • To move up one directory level, you can click the folder icon with the two dots .. at the top of the file list.
  • Alternatively, use the breadcrumb navigation at the top of the window to go back to a previous directory.

Common file operations

Creating a new file or folder

  • Navigate to the location you want to create the file/folder
  • Click the + File or + Folder button in the toolbar
  • You’ll be prompted to enter a name for the new file or folder
  • After naming, the new file or folder will appear in the current directory

Uploading files

  • Click the 'Upload' button in the toolbar
  • You can drag and drop files into the upload window or use the 'Select File' button to browse your computer
  • Files will be uploaded to the currently selected directory

Deleting Files or Folders

  • Select the item(s) you want to delete and click 'Delete' in the top toolbar
  • Confirm the deletion in the prompt that appears. Deleted items will be moved to the Trash unless you tick the box to choose to permanently delete them

Copying/Moving Files

  • Select the file/folder you want to copy or move
  • Click 'Copy' or 'Move' in the toolbar, and you’ll be prompted to enter the destination path

Editing a File

  • Select a file by clicking on it, then click 'Edit' in the toolbar
  • The editor will open in a new tab or window, where you can modify the file's contents

Downloading a File


  • Select a file by clicking on it, then click 'Download' in the toolbar
  • Your browser will then prompt you to save the file, and the download will begin automatically.

CloudPanel

The CloudPanel File Manager offers an intuitive interface for managing files and directories, enabling easy uploads, downloads, and file operations directly from your web browser, streamlining website management and maintenance.

Accessing the File Manager

1. First, login to CloudPanel.

2. Click the 'Manage' button next to the site you want to manage.

3. Click the 'File Manager'.

4. Select 'htdocs' -> 'mybusinessdomain1.com.au' (or your website's domain folder), where your website files are stored.

Common file operations

Creating a new file or folder or upload a new file


  • Click the 'Add New' button in the toolbar.
  • If you want to create a new blank file, click 'Add new file'.
  • If you want to create a new blank folder, click 'Add new folder'.
  • If you want to upload a file, click 'Upload File,' and the file will be uploaded to the currently selected directory.


Deleting Files or Folders

  • After selecting the file, right-click to open the popup menu, then click 'Delete'. A notification window will appear; click 'OK' to confirm and delete the file

  • Alternatively, after selecting the file, you can press the Delete key or the Left Arrow key keyboard shortcut to delete the file. A notification window will appear; click 'OK' to confirm and delete the file

Copying/Moving Files

  • Select or highlight the file/folder you want to copy or move
  • Right-click on it to open the popup menu, then choose 'Copy' to copy the file/folder or 'Cut' to move it. Alternatively, you can use the keyboard shortcuts Ctrl+C to copy and Ctrl+X to cut.
  • Then right click anywhere on the folder area and a 'Paste' button will appear click that and it will paste your file or move it. Alternatively you can do key combinations on your keyboard 'Ctrl+V' to paste.

Editing a File

  • After selecting the file, right-click to open the popup menu and then click 'Edit'.
  • Alternatively, after selecting the file, you can press the 'Ctrl+E' keyboard shortcut to open the file editor immediately.
  • A file editor will appear. Once you're done with the changes, click 'Save'. A checkmark icon will appear at the bottom. You can then safely close the file editor by clicking the 'X' icon in the top-right corner.

Downloading a File

  • Select a file by clicking on it, then right-click to open the popup menu and click 'Download'. Alternatively, you can use the keyboard shortcut Ctrl+D to download the file.
  • Your browser will then prompt you to save the file, and the download will begin automatically.

Still need help? Message Us