Using Wget With FTP To Download/Move Web Sites Recursively
Using Wget With FTP To Download/Move Web Sites RecursivelyVersion 1.0 Sometimes you need to move a web site from one server to another. Instead of downloading the web site from the old server to your PC via FTP and uploading it from your PC to the new server, it would save a lot of time to simply copy the web site from one server to the other. This tutorial explains how to use Wget to download/move a web site from one server to the other via FTP. I do not issue any guarantee that this will work for you!
1 Preliminary NoteI'm assuming that you have a working FTP login on the remote server.
2 Using WgetTo download a remote web site to your local server recursively, you can use Wget as follows: 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
3 Links
|




Recent comments
2 hours 58 min ago
3 hours 57 min ago
7 hours 44 min ago
8 hours 58 min ago
12 hours 35 min ago
19 hours 50 min ago
1 day 4 hours ago
1 day 6 hours ago
1 day 21 hours ago
1 day 23 hours ago