User Tools

Site Tools


internet:hosting:move_web_site

Move a Web Site From One Server to Another

wget

To download a remote web site to your local server recursively, you can use wget:

wget -m ftp://username:password@www.mydomain.tld/

The -m switch enables mirroring, which means it enables recursion with infinite recursion depth, and it keeps FTP directory listings as well as time stamps.

If you just want to download a specific subdirectory, e.g. /htdocs, you'd do it as follows:

wget -m ftp://username:password@www.mydomain.tld/htdocs
internet/hosting/move_web_site.txt · Last modified: 2012/11/01 14:24 by gcooper