local to FTP sync

To sync local directory to FTP server use (Linux script):

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

Leave a Reply

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

9  +  1  =  

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