Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Copy files between two accounts

Discussion in 'General Discussion' started by jackbwa, May 1, 2010.

  1. jackbwa

    jackbwa Member

    Joined:
    May 1, 2010
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    51
    Hello

    I started recently using cpanel, I created two accounts for two sites, for each account I have file manager to access the site files, now my question is: How to copy site files from one account to the other?

    Thanks in advance
    Jack
     
  2. thewebhostingdi

    thewebhostingdi Well-Known Member

    Joined:
    Jan 10, 2008
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    66
    You can copy the files from one account to another using the FTP or if you have an access to the server then you can copy it through SSH.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,664
    Likes Received:
    69
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    via ssh would be the fastest

    # cp -r /home/username/public_html/ /home/otherusername/public_html

    # chown -R otherusername.otherusername /home/otherusername/public_html

    # chown otherusername.nobody /home/otherusername/public_html

    :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. jackbwa

    jackbwa Member

    Joined:
    May 1, 2010
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    51
    Thank you very much, I'm going to try this SSH method.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice