MetaChat REGISTER   ||   LOGIN   ||   IMAGES ARE OFF   ||   RECENT COMMENTS




artphoto by splunge
artphoto by TheophileEscargot
artphoto by Kronos_to_Earth
artphoto by ethylene

Home

About

Search

Archives

Mecha Wiki

Metachat Eye

Emcee

IRC Channels

IRC FAQ


 RSS


Comment Feed:

RSS

21 January 2008

How can I zip up an entire website? [More:]I need to move a website from one place to another on the web. Is there an easy way to create something like a zip file of the site, transfer and unzip (I'm on dreamhost, have dreamweaver, transmit on a mac and access to a PC).

I did this once. There's probably an easier way, but I just created a folder on my desktop, opened up my ftp client, and downloaded everything in my html folder and subfolders to the folder on my desktop. Then I switched to my new website via the ftp client, and uploaded all of the folders.
posted by iconomy 21 January | 11:06
Remember to change all the urls in your php, cgi etc files/scripts to your new paths.
posted by iconomy 21 January | 11:07
I'd suggest wget

More on wget from the Dreamhost Wiki
posted by terrapin 21 January | 11:14
You friendly with the unix shell at all? If so, log into your dreamhost account and do one of these:

tar -cvzf nameofbackup.tgz ./directorysitelivesin


Then copy the resulting file into whatever your destination root directory is and reverse the process:

tar -xvzf nameofbackup.tgz


If your target platform doesn't support tar or gzip (e.g. Stupid Windows Box), you could go with "unzip" rather than "tar", though I don't remember the syntax for unix unzip off-hand.
posted by cortex 21 January | 11:18
(Also note that if your site is HUGE, disk-wise, DH might crap out trying to create the tar file. Freakin' DH.)
posted by cortex 21 January | 11:19
there's a feature in dreamhost's webftp that does exactly what you're looking to do, but it has a tendency to hang or even error out if the directory you're zipping is on the large-ish side.
posted by syntax 21 January | 11:23
Thanks for the help everyone. I tried using dreamhosts webftp but it froze up. Manually downloading the site to my computer and then using Dreamweaver's Synchronize worked in the long run.
posted by drezdn 21 January | 12:07
Bunny! OMG! || THREE POINT SHOUTING UPDATE

HOME  ||   REGISTER  ||   LOGIN