lftp is a command line FTP program.
Download All Content of a Website
Lets say we want to download all content of web site client-website.com, run following commands
mkdir client-website.com cd client-website.com lftp -d -u FTP_USER_NAME,FTP_PASSWORD FTP_SERVER_IP_ADDR set ftp:ssl-allow no cd public_html mirror
Now we have all web site files on our computer.
Upload All Content to a Website
Now we connect to clients new NEW_FTP_SERVER_IP_ADDR, this may have different user name and password.
cd client-website.com lftp -d -u FTP_USER_NAME,FTP_PASSWORD NEW_FTP_SERVER_IP_ADDR set ftp:ssl-allow no cd public_html mirror -R
mirror -R will do reverse mirror, that is upload.