Copying files in ISPmanager

Copying and moving work right on the hosting: no need to download files and upload them again. This is handy to move a site from a staging subdomain to the main domain, lift files one level up after extracting an archive, or keep a copy of a file before editing it.

Copy or move

  1. "File manager" → open the folder with the file.
  2. Three dots on the file or folder → "Copy".
  3. Choose the target folder in the tree.
  4. "Move files" moves instead of copying. "Overwrite" replaces files with the same name. "Open the selected directory" opens the target folder afterwards.
  5. Click "Copy".
File menu
File menu
Choosing the target folder
Choosing the target folder

Several files: tick them on the left, then choose the action on the top toolbar.

Move a site from a subdomain to the domain

  1. Open the subdomain folder, for example www/test.example.com.
  2. Tick all site files and folders.
  3. Copy them to www/example.com with "Overwrite" ticked.
  4. Change the site address in the CMS settings, and the database connection if the database is different.

A copy before editing

Before editing an important file (.htaccess, wp-config.php) save a copy. Keep copies outside the site folder, for example in a separate folder in your home directory.

Do not leave copies like wp-config.php.bak or config.old in the site folder. The web server may serve them as plain text — together with the database password.

Be careful

  • "Overwrite" replaces files in the target folder. This cannot be undone.
  • "Move files" removes the files from the source folder. A site that ran there stops working.
  • Do not copy or move service folders of the home directory: email, logs and folders whose names start with a dot.
  • A large folder takes time to copy. Wait for it to finish and do not start the copy again.
Questions and answers
Tick "Move files" in the copy window.
Tick them and choose the action on the top toolbar.
Without "Overwrite" they are kept. With it they are replaced.