How to Synchronize Remote / Local Using LFTP
LFTP is a command-line program client for several file transfer protocols (FTP, FTPS, HTTP, HTTPS, etc.)
The article shows example scripts to sync files from Remote to Local and from Local to Remote using LFTP