Mirror an entire site via ftp, on the bash shell

Use the following command to mirror an entire site via wget and ftp:

wget -m [email protected] --password=mypassword ftp://ftp.droidzone.in/*



Host: ftp.droidzone.in

Username: username

Password: mypassword

This format of wget takes care of extraneous characters like the @ symbol and any colons in the username or password.

The -m option mirrors the site. This is useful if your site doesnt have rsync/ssh access.

You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.