Skip to content

Instantly share code, notes, and snippets.

@nwgat
Last active July 5, 2022 20:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save nwgat/ec088ea0cccc8bedbc77 to your computer and use it in GitHub Desktop.
Save nwgat/ec088ea0cccc8bedbc77 to your computer and use it in GitHub Desktop.
choco.mirrorfrom.lftp
set sftp:auto-confirm yes
set sftp:connect-program 'ssh'
open sftp://user:password@site:port
mirror --verbose --use-pget-n=8 -c /remote/path /cygdrive/driveletter/folder
@SevenZLL
Copy link

SevenZLL commented Jun 4, 2022

The command cannot run the above code anywhere

@nwgat
Copy link
Author

nwgat commented Jul 5, 2022

can you tell me the version?
have you tried switching out ssh to C:\ProgramData\chocolatey\lib\lftp\tools\bin\ssh.exe ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment