Last active
July 5, 2022 20:38
-
-
Save nwgat/ec088ea0cccc8bedbc77 to your computer and use it in GitHub Desktop.
choco.mirrorfrom.lftp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
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
The command cannot run the above code anywhere