FTP to local sync

To sync remote directory to local computer use (Linux script):

lftp -c "set ftp:list-options -a;
   open ftp://<ftpuser>:<ftppass>@<ftp.host.com>:<ftpport>; 
   lcd ./s;
   cd ftp/test;
   mirror --delete --use-cache --verbose --no-umask --parallel=2"

Leave a Reply

Your email address will not be published. Required fields are marked *

  +  3  =  9

Skynin cache:
Array ( [cache mode] => capture [requestKey] => 65c35d5a053bd0767f4d7bd80fde4b226a.sc [skycache_disable_capture] => false )