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

  1. Log in to your cPanel account.
  2. Go to FilesFile Manager.
  3. Navigate to the directory containing the file or folder you want to copy.
  4. 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.
  5. Click Copy from the toolbar, or right-click and choose Copy.
  6. 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.
  7. Click Copy File(s).
  8. 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

  1. Select the file or folder you want to move.
  2. Click Move from the toolbar, or right-click and choose Move.
  3. Enter the destination path in the Move file(s) to: field.
  4. Click Move File(s).
  5. 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:

  1. Click and hold the file you want to move.
  2. Drag it to the destination folder in the left sidebar or the main file list.
  3. 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/ to public_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.php to index.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.
Was this answer helpful? 0 Users Found This Useful (0 Votes)