# How to Use File Manager in cPanel

#### Introduction <a href="#introduction" id="introduction"></a>

The File Manager in cPanel is a powerful tool that allows you to manage website files directly from your web browser, eliminating the need for FTP clients. It provides an intuitive interface to upload, edit, delete, and organize files on your hosting server. This guide will walk you through navigating and using File Manager in cPanel effectively.

#### Step 1: Accessing File Manager in cPanel <a href="#step-1-accessing-file-manager-in-cpanel" id="step-1-accessing-file-manager-in-cpanel"></a>

1. **Log into cPanel**
   * Visit `https://yourdomain.com/cpanel` and enter your credentials.
2. **Locate the File Manager**
   * In the **Files** section, click on **File Manager**.
3. **Choose the Directory**
   * By default, it opens in the `home` directory. Navigate to `public_html` for your website files.

#### Step 2: Navigating the File Manager Interface <a href="#step-2-navigating-the-file-manager-interface" id="step-2-navigating-the-file-manager-interface"></a>

The File Manager interface consists of:

* **Left Sidebar:** Displays the directory structure.
* **Right Panel:** Shows the contents of the selected directory.
* **Toolbar:** Contains options like upload, create, rename, and delete.

#### Step 3: Uploading Files <a href="#step-3-uploading-files" id="step-3-uploading-files"></a>

1. **Navigate to the destination folder** (e.g., `public_html`).
2. **Click on Upload** in the top toolbar.
3. **Select Files** from your local computer.
4. **Monitor the Upload Progress** and return to File Manager once completed.

#### Step 4: Creating and Editing Files <a href="#step-4-creating-and-editing-files" id="step-4-creating-and-editing-files"></a>

#### Creating a New File <a href="#creating-a-new-file" id="creating-a-new-file"></a>

1. Click on **+ File** in the toolbar.
2. Enter the file name and destination folder.
3. Click **Create New File**.

#### Editing a File <a href="#editing-a-file" id="editing-a-file"></a>

1. Select the file you want to edit.
2. Click **Edit** in the toolbar.
3. Modify the content and click **Save Changes**.

#### Step 5: Managing Files and Folders <a href="#step-5-managing-files-and-folders" id="step-5-managing-files-and-folders"></a>

#### Renaming Files/Folders <a href="#renaming-filesfolders" id="renaming-filesfolders"></a>

1. Select the file/folder.
2. Click **Rename** in the toolbar.
3. Enter the new name and press **Enter**.

#### Deleting Files/Folders <a href="#deleting-filesfolders" id="deleting-filesfolders"></a>

1. Select the file/folder.
2. Click **Delete** in the toolbar.
3. Confirm deletion by clicking **Delete Permanently** or move to Trash.

#### Moving Files/Folders <a href="#moving-filesfolders" id="moving-filesfolders"></a>

1. Select the file/folder.
2. Click **Move** in the toolbar.
3. Specify the destination folder and confirm.

#### Step 6: Changing File Permissions <a href="#step-6-changing-file-permissions" id="step-6-changing-file-permissions"></a>

1. Select the file/folder.
2. Click **Permissions** in the toolbar.
3. Adjust the read, write, and execute permissions.
4. Click **Change Permissions**.

#### Step 7: Extracting and Compressing Files <a href="#step-7-extracting-and-compressing-files" id="step-7-extracting-and-compressing-files"></a>

#### Extracting Files <a href="#extracting-files" id="extracting-files"></a>

1. Select the compressed file (e.g., `.zip` or `.tar`).
2. Click **Extract** in the toolbar.
3. Choose the destination folder and confirm extraction.

#### Compressing Files <a href="#compressing-files" id="compressing-files"></a>

1. Select the files/folders to compress.
2. Click **Compress** in the toolbar.
3. Choose the compression type (ZIP, TAR, etc.).
4. Click **Compress Files**.

#### Conclusion <a href="#conclusion" id="conclusion"></a>

The File Manager in cPanel is a user-friendly tool for managing your website files without needing additional software. By using its features efficiently, you can upload, edit, organize, and secure your files with ease. Whether you're a beginner or an advanced user, mastering File Manager will streamline website managemen


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.sitecove.com/how-to-guides/web-hosting/website-setup-and-management/how-to-use-file-manager-in-cpanel.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
