November 12, 2015
Install LFTP in Chocolately
Chocolatey NuGet is a Machine Package Manager, somewhat like apt-get, but built with Windows in mind.
Install Chocolately
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
Install LFTP
Now you can install lftp with
choco install lftp
choco will make shims for lftp.exe, ssh.exe, sh.exe and bash.exe
so you can run it everywhere in Command Prompt or Powershell
Run LFTP script file
mirror from server(Download)
mirror to server (Upload)