August 24th, 2016 by usage | Filed under Uncategorized

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'


You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Comments are closed.