How do I copy files between locations on a Managed Dedicated server? Print
Submit Cancel
Email this article

Close

You are here: Home > Website Support > Telnet and SSH

Copying of files on a Dedicated server can be done using commands via SSH/Telnet.

  1. Check that you have enabled SSH/Telnet for the domain on your Managed Dedicated server.
  2. Login via SSH/Telnet.
  3. ‘Change directory’ to the folder above the folder containing the files. E.g.:
    cd mydirectory
    In this case the files are located in:
    /mydirectory/myfolder
  4. Use the following syntax for your copying command:
    scp "source file/folder" "destination_ftpuser@destination_server:/usr/home/"destination_ftpuser"/ 

Example (coping to another domain on the same server):

scp myfolder destination_ftpuser@localhost:/usr/home/destination_ftpuser

Example (coping to another domain on a different server):

scp myfolder destination_ftpuser@serverIPAddress:/usr/home/destination_ftpuser

Further information on secure copy is available online.

 

Was this information helpful?

Yes No

Thank you for your feedback
We are delighted to find that our article resolved your query.

Thank you for your feedback
We will resolve your query as soon as possible.

Please take a few moments to comment on your unresolved query. Simply tell us what your problem is. We guarantee that we'll get back to you within two hours (during office hours) in response to your query.


  Partially resolved    Unresolved
Enter your query here:
Your name:
Your email address:
Contact number:
Customer number or domain name:
 
Preferred contact method: Email     Call me
Please enter the text in the picture below into the text box:
CAPTCHA Image:
ID Number:
 
  • Hosting for Beginners

    Step-by-step guide to hosting with Hetzner.

    VIEW NOW
  • Application Tutorials

    Use our installation guides to get up and running.

    VIEW NOW
  • Login Now

    Our award winning proprietary control panel empowers customers to manage their hosting environment.

    Take the Tour
  • Contact Us

    support@hetzner.co.za

    Phone: 0861-0861-08
    Fax: 0861 0861-09
    Contact Us