Mirroring sites with lftp
Sat, 11/17/2007 - 19:45 — sandipThe "mirror" command is all you need to copy/mirror a site with lftp:
$ lftp
lftp :~> connect ftp.domain.tld
lftp ftp.domain.tld:~> login <username>
lftp ftp.domain.tld:~> mirror
Here's a one liner:
$ lftp -e mirror -u <username>,<password& gt; <host>