SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Enthusiast
    Join Date
    Aug 2001
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CuteFTP Question

    I am using CuteFTP Pro 2.0, and what I am wanting to do is transfer a large site of mine from one host to another.

    My question is... is there a way to download the entire site and then upload it to the new host, and maintain all of the file properties (ie. 655, 777, file properties)?

    Thanks,
    Brandon

  2. #2
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    do you have shell on both servers? If so I can tell you how to do it server to server without cuteftp
    Aaron Brazell
    Technosailor



  3. #3
    SitePoint Enthusiast
    Join Date
    Aug 2001
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I do on the new one, not sure on the current one.

    Brandon

  4. #4
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    if you have it on the old one login and tar the data up:
    Code:
    bash$ tar -cvf files.tar *
    bash$ gzip files.tar
    SSH into the old server and use SFTP to pull the tarball from the old server:
    Code:
    bash$ sftp shelluser@oldserver.com
    Password: <enter>
    
    sftp> get /path/to/files.tar.gz
    sftp> exit
    
    bash$ quit
    Last edited by Sketch; Oct 24, 2003 at 20:18.
    Aaron Brazell
    Technosailor



  5. #5
    SitePoint Enthusiast
    Join Date
    Aug 2001
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, that worked. Is there anyway to unpack them on the new server, and maintain the same file structure?

    Thanks,
    Brandon

  6. #6
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    tar zxvf files.tar.gz

    Aaron Brazell
    Technosailor



  7. #7
    SitePoint Enthusiast
    Join Date
    Aug 2001
    Posts
    66
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I seem to be getting an error when I try the above command:

    gzip: stdin: unexpected end of file
    tar: Child returned status 1
    tar: Error exit delayed from previous errors

    Thanks,
    Brandon


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •