Mirror FTP

I recently decided to take mirror an old website that I had running. The hosting plan only offered ftp, and so, I couldn't get shell access to tar and scp it.

Next best thing was to mirror it using lftp. The following command logs into the root FTP directory and mirrors every file recursively.

lftp -e mirror -u username,password ftp.example.com