copy or move to other cpanel account

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CAD
    Junior Member
    • Mar 2004
    • 17

    copy or move to other cpanel account

    is it possible to copy or move file or directory to other cpanel account in the same dis-xxxx using FTP client or SSH?

    I need to do this for backup purpose. not full backup but some files or directories only..

    thank you..
  • ZYV
    Senior Member
    • Sep 2005
    • 315

    #2
    Yes, it is.

    Comment

    • AndrewT
      Administrator
      • Mar 2004
      • 3653

      #3
      You will not be able to do this directly because accounts are jailed in such a way that they do not have access to each other. Though you could use something such as SCP via SSH and transfer the files that way.

      Comment

      • ZYV
        Senior Member
        • Sep 2005
        • 315

        #4
        Well, actually, I meant something like:

        Code:
        user1@cpanel$ tar -cvjf files.tar.bz2 file4 file5 file6
        user1@cpanel$ mv files.tar.bz ~/public_html
        user2@cpanel$ cd ~/public_html
        user2@cpanel$ wget cpanel.gzo.com/~user1/files.tar.bz
        user2@cpanel$ tar -xjvf files.tar.bz
        Not something like setting files 0777 because I imagine that shared hosting jail would prevent accessing them anyway.

        Comment

        • SeanCustomer
          Junior Member
          • Jun 2006
          • 16

          #5
          I was just trying to do this via the CPanel File Manager, but there appears to be no zip/tar function.

          Comment

          • AndrewT
            Administrator
            • Mar 2004
            • 3653

            #6
            Those commands need to be run directly from SSH.

            Comment

            • ZYV
              Senior Member
              • Sep 2005
              • 315

              #7
              Few days ago I've got to deal with a domain on which SSH has been disabled. Thus I couldn't use my own method. I can confirm that the modern file manager from X3 theme features an unpack zip archive function.

              Comment

              Working...