How to manage files using cPanel

This article explains common operations in the cPanel File Manager: creating folders and files, uploading content, editing, moving, changing permissions, searching, and password-protecting directories.

FTP Equivalent: This tool offers features similar to an FTP client (FileZilla): managing directories and uploading or downloading files, but from within your browser.

Accessing the File Manager

  1. Log in to cPanel from the client portal or at https://yourdomain.com/cpanel.
  2. Go to Files → File Manager.

Acceso al Administrador de archivos en cPanel

Web Publishing: For files visible on your site, work inside public_html. Do not delete system folders (mail, etc, tmp).

Creating a file or directory

  1. In the toolbar, click + File or + Folder.

Botones crear archivo o carpeta

  1. Enter the name and confirm the destination directory (by default, the current directory).
  2. Click Create New File or Create New Folder.

Diálogo para crear archivo o carpeta

Editing a created file

  1. Right-click on the file → Edit (Edit).
  2. Leave the encoding as default and confirm by clicking Edit again.
  3. Modify the content in the editor and save your changes.

Menú contextual Editar archivo

Editor de archivos en cPanel

Uploading and downloading content

  1. Navigate to the destination directory.
  2. Click Upload in the toolbar.

Botón Cargar en Administrador de archivos

Drag files to Drop files here to start uploading or use Select File.

Complete folders: The manager does not allow uploading directories. Compress them into a .zip file on your PC, upload the file, and extract it with a right-click → Extract.

Menú Extraer archivo comprimido

Specify the destination folder and click Extract File(s).

To download, select the file and use Download in the toolbar or right-click → Download.

Moving or copying files

  1. Right-click on the file or folder.
  2. Choose Move or Copy.
  3. Enter the destination path and confirm with Move File(s) or Copy File(s).

Menú Mover o Copiar

You can also drag a file or folder onto another directory in the sidebar tree to move it:

Arrastrar archivo a otra carpeta

Changing permissions

In the permissions column of the content window, click on the numerical value of the file or folder to modify it.

Columna de permisos de archivos

Type Usual permission
Files 644
Folders 755

Searching for files or directories

Use the search bar in the top right. You can limit the search to the current directory, public_html, or the entire account.

Buscador del Administrador de archivos

Enter the term and click Go. A window with the results will open.

Password-protecting a directory

  1. Right-click on the folder → Password Protect.
  2. Assign a visible name for the protected area and check Password protect this directory.

Activar protección por contraseña

  1. Create an authorized user with a password to access the directory.

Crear usuario para directorio protegido

Subdirectories within the protected folder will also be protected.

To remove a user, select them under Authorized Users and click Delete User:

Eliminar usuario de directorio protegido

To completely disable protection, uncheck Password protect this directory and save (see also the Directory Privacy article).

Deleting a file

  1. Select the file or folder in the content window.
  2. Click Delete in the top toolbar.
  3. Confirm the deletion.

Caution: Deletion is permanent if you do not have a backup. Double-check the path before deleting folders containing site content.

Troubleshooting

  • Upload error: your disk might be full; check Disk Space Full: How to Fix It.
  • File too large: use FTP or compress the file before uploading it.
  • 500 Error after editing .htaccess: revert the change or restore from a backup.
  • Cannot find a file: enable hidden files (dotfiles) in the Manager Settings.

If an operation fails, you accidentally deleted files, or you cannot restore permissions, open a ticket from the client portal or contact us via the site's online chat.

  • administrar archivos mediante cpanel, buscar fichero o directorio en cpanel, cambiar permisos de directorio cpanel, crear directorio en cpanel, mover copiar archivos cpanel, proteger directorio con contraseña, subir archivos mediante cpanel
  • 99 Users Found This Useful
Was this answer helpful?

Related Articles

How to connect and upload files using FTP-FileZilla

This article explains how to upload files via FTP to your hosting plan using the free FileZilla...

I cannot publish files within my service

This article helps you troubleshoot when you cannot upload or publish files on hosting with a...

Anonymous FTP Precautions

This article describes the security and usage precautions of anonymous FTP in a cPanel hosting...

FTP folder utilities

This article explains the meaning of each folder in your hosting account when connecting via FTP...

Creating and managing FTP accounts

This article explains how to create and manage additional FTP accounts in cPanel to grant...