How to create a new file or folder in cPanel File Manager? (Video)

Creating a new file or folder in cPanel File Manager is simple and can be done directly from the File Manager interface. Here's a step-by-step guide.


Step 1: Log in to cPanel

  1. Open your web browser and navigate to your cPanel login page (e.g., https://yourdomain.com:2083).
  2. Enter your username and password, then click Log in.

Step 2: Open File Manager

  1. In the cPanel dashboard, scroll down to the Files section.
  2. Click on File Manager.

Step 3: Navigate to the Desired Directory

  1. Once the File Manager opens, locate the directory where you want to create the new file or folder.
  2. For example:
    • Public_html: If you want the file or folder to be accessible on your website.
    • Custom Directories: For organizing other files.
  3. Double-click the directory to open it.

Step 4: Create a New File

  1. At the top of the File Manager interface, click the + File button.
  2. A pop-up window will appear asking for the file name and location.
    • File Name: Enter the desired file name, including the extension (e.g., index.html, style.css, script.js).
    • New File Will Be Created In: Confirm the directory where the file will be created.
  3. Click Create New File.

Step 5: Create a New Folder

  1. To create a folder, click the + Folder button at the top of the File Manager interface.
  2. A pop-up window will appear asking for the folder name and location.
    • Folder Name: Enter the name of the new folder.
    • New Folder Will Be Created In: Confirm the directory where the folder will be created.
  3. Click Create New Folder.

Step 6: Verify the Creation

  1. Refresh the directory to ensure the new file or folder appears.
  2. For files, you can click on the file name to edit or add content.
  3. For folders, double-click to open and organize files inside.

Tips for File and Folder Creation

  • Use Meaningful Names: Choose descriptive names for better organization and clarity.
  • File Extensions: Ensure the correct file extension is used (e.g., .php, .html, .txt).
  • File Permissions: Set appropriate permissions for the file or folder after creation (e.g., 755 for folders, 644 for files).

By creating new files and folders in cPanel File Manager, you can easily manage your website's structure and content.

 
  • 123 用戶發現這個有用
這篇文章有幫助嗎?

相關文章

如何使用 cPanel 下载备份?(视频)

使用cPanel下载备份是一个简单的过程。以下是帮助您安全下载网站备份的逐步指南: 第一步:登录cPanel 打开您的网页浏览器。...

如何生成Sapna备份并发送到FTP服务器? (视频)

生成cPanel备份并将其发送到FTP服务器是一个简单的过程。以下是具体步骤: 第1步:登录cPanel...

如何在 cPanel 中恢复备份?(视频)

在 cPanel 中恢复备份是一个简单的过程,可以高效地恢复您的网站数据。以下是恢复备份的分步指南: 第一步:登录 cPanel 打开您的网页浏览器,访问...

如何在 cPanel 中更改账户密码?(视频)

在cPanel中更改账户密码非常简单,只需几个步骤即可完成。请按照以下说明操作。 第一步:登录cPanel...

How to update your contact information in cPanel? (Video)

Updating your contact information in cPanel is important to ensure you receive critical...