lftp

lftp this is an amazing program that allows you to download or upload a site.

How to download a site supporting SFTP account using lftp.

lftp -u 'some_user' --password='some_pass' sftp://some_host:2222 -e 'set ssl:verify-certificate no; set sftp:auto-confirm yes;set ftp:list-options -a; set ftp:ssl-allow no; mirror -vvv /remote_dir/ local_target_dir/; bye'