Results 1 to 4 of 4

Thread: Copy files between two accounts

  1. #1
    Registered Member
    Join Date
    May 2010
    Posts
    11

    Default Copy files between two accounts

    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. #2
    Registered Member
    Join Date
    Jan 2008
    Posts
    141

    Default

    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. #3
    Registered Member cPanel Partner NOC Badge
    Join Date
    Oct 2003
    Posts
    2,138

    Red face

    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

    Lowest Host/Empire Technology LLC
    Affordable hosting solutions http://empire-hosting.net
    List Your hosting site FREE in http://hostgeneration.com

  4. #4
    Registered Member
    Join Date
    May 2010
    Posts
    11

    Default

    Thank you very much, I'm going to try this SSH method.

Similar Threads

  1. Copy files between cPanel accounts with PHP
    By robocrop in forum cPanel & WHM Discussions
    Replies: 7
    Last Post: 05-14-2008, 04:00 PM
  2. Copy files from one domain to another (on the same server)
    By listenmirndt in forum New User Questions
    Replies: 2
    Last Post: 09-08-2007, 11:12 PM
  3. Copy Domain log files manually
    By nsusa in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 07-19-2007, 02:52 PM
  4. "copy accounts" not copy all files.
    By destbr in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 03-21-2006, 03:23 AM
  5. Pre-copy files before account transfer
    By webignition in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 04-19-2005, 04:08 PM
bargain