ScAlAn

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 *