cPanel File Manager lets you easily copy (duplicate) or move (transfer) files and folders between directories. Copying keeps the original file in place and creates a duplicate in the new location. Moving removes the file from its current location and places it in the new one. This guide covers both operations.
Copying Files or Folders
- Log in to your cPanel account.
- Go to Files → File Manager.
- Navigate to the directory containing the file or folder you want to copy.
- Select the file or folder by clicking its checkbox. To select multiple items, hold Ctrl (or Cmd on Mac) and click each one. To select a range, click the first item, hold Shift, and click the last item.
- Click Copy from the toolbar, or right-click and choose Copy.
- In the dialog box, enter the destination path in the Copy file(s) to: field:
- To copy into a folder within
public_html, type/public_html/foldername - You can also click the folder icons to browse to the destination.
- To copy into a folder within
- Click Copy File(s).
- A confirmation message will appear.
Note: You cannot create a copy of a file within the same directory. The destination must be different from the source.
Moving Files or Folders
- Select the file or folder you want to move.
- Click Move from the toolbar, or right-click and choose Move.
- Enter the destination path in the Move file(s) to: field.
- Click Move File(s).
- A confirmation message will appear. The file will be removed from its original location and placed in the new one.
Alternative: Drag and Drop
You can also move files by dragging and dropping them directly in File Manager:
- Click and hold the file you want to move.
- Drag it to the destination folder in the left sidebar or the main file list.
- Release the mouse button to drop the file into the new location.
Common Use Cases
- Moving WordPress to a subdirectory: Move all files from
public_html/topublic_html/blog/. - Organizing uploads: Move uploaded files from the root directory to a dedicated
uploads/folder. - Creating a backup before editing: Copy a file (e.g.,
index.phptoindex.php.bak) before making changes. - Moving files to an addon domain: Transfer files to the addon domain directory.
Important Notes
- Copy creates a duplicate — the original file remains in its current location.
- Move transfers the file — it is removed from the original location.
- If a file with the same name already exists in the destination, the moved/copied file will overwrite it.
- Large file operations may take a few moments to complete. Do not navigate away during the process.
Troubleshooting
"Copy File(s)" button is grayed out:
- You may be trying to copy a file into the same directory. Select a different destination.
Cannot drag and drop files:
- Use the toolbar Move or Copy buttons instead.
- Make sure you are using a supported browser (Chrome, Firefox, Edge).
Operation failed with an error:
- Check that the destination directory exists and is writable.
- Ensure your cPanel account has enough disk space for the copy operation.
- Contact your hosting provider if the issue persists.