Results 1 to 7 of 7
  1. #1
    Join Date
    Nov 2006
    Posts
    180

    Download website using SSH

    Hey everybody,

    I wanted download my entire site using SSH instead of FTP since one of my folders has a few thousand files and my FTP client isn't showing (and downloading) me all of them.

    Can anybody please give me the SSH commands to download everything on my dedicated server? I have Putty.

    Thanks!

  2. #2
    Join Date
    May 2008
    Location
    Citrus Heights, CA
    Posts
    1,716
    try to tar an archive from ssh and then ftp it.
    Best Regards,

    Mark

  3. #3
    Join Date
    Apr 2005
    Posts
    1,711

  4. #4
    Join Date
    May 2008
    Location
    Citrus Heights, CA
    Posts
    1,716
    Quote Originally Posted by zacharooni View Post
    I would recommend using scp for server to server transfers.
    I would to, except the OP didn't say that's what he was doing.
    Best Regards,

    Mark

  5. #5
    Join Date
    Nov 2006
    Posts
    180
    I just want to download the site from the server onto my personal hard drive.

  6. #6
    Join Date
    May 2009
    Posts
    31
    You can create a tar file of all the files and subdirectorieswith the
    following command:

    tar cf archive.tar /path/of/homedirectoy

    and download that file using your browser of ftp tool.

  7. #7
    on the server tar the site content by:
    Code:
    tar -Pzcf /var/www/path/to/site/documents/root/backup.tar.gz /var/www/path/to/site/documents/root/
    than from your computer download it using wget
    Code:
    wget http //www yourwebsite com/backup.tar.gz
    or by typing http //www yourwebsite com/backup.tar.gz in browser

    don't forget to delete the file after downloading it
    Code:
    rm /var/www/path/to/site/documents/root/backup.tar.gz

Similar Threads

  1. how to get videos on website to download
    By easydoesit in forum Web Design and Content
    Replies: 9
    Last Post: 11-14-2004, 03:59 PM
  2. Download Website for Sale
    By dnout in forum Other Offers & Requests
    Replies: 9
    Last Post: 10-28-2004, 05:29 PM
  3. Website download software
    By akaize in forum Hosting Security and Technology
    Replies: 6
    Last Post: 09-23-2004, 08:04 AM
  4. how do i prevent ppl download my website?
    By fuse1982 in forum Hosting Security and Technology
    Replies: 10
    Last Post: 04-10-2004, 02:39 PM

Posting Permissions

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