1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Copy files between two accounts

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

  1. jackbwa

    jackbwa New Member

    Joined:
    May 1, 2010
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    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

    Joined:
    Jan 10, 2008
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  3. dalem

    dalem Active Member

    Joined:
    Oct 24, 2003
    Messages:
    2,231
    Likes Received:
    4
    Trophy Points:
    38
    Location:
    SLC
    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

    :)
     
  4. jackbwa

    jackbwa New Member

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

Share This Page