FTP: How to download all files, directories and sub-directories

I’ve recently decided to cancel my hosting package with 1and1, as I don’t really have much use for it any more what with all the freebies Google is dishing out.

I needed to take a backup of all my files, and unfortunately mget doesn’t (or at least at the time) doesn’t support the downloading of directories, luckily there is another tool to help, <a href=””>wget</a>.

This example of wget will download all files (the -r specifies recursively) from a directory on the domain

<code>wget -r</code>

Leave a Reply

Your email address will not be published. Required fields are marked *