Fixes "mirror: Access failed: 534 Protection level negotiation failed"

This commit is contained in:
Earljon Hidalgo 2020-03-18 18:04:20 +08:00
parent eb75c5cb29
commit 9746532eef

View file

@ -1,3 +1,3 @@
#!/bin/sh -l #!/bin/sh -l
lftp $INPUT_HOST -u $INPUT_USER,$INPUT_PASSWORD -e "set ftp:ssl-force $INPUT_FORCESSL; set ssl:verify-certificate false; mirror --reverse --continue --dereference -x ^\.git/$ $INPUT_LOCALDIR $INPUT_REMOTEDIR; quit" lftp $INPUT_HOST -u $INPUT_USER,$INPUT_PASSWORD -e "set ftp:ssl-force $INPUT_FORCESSL; set ssl:verify-certificate false; set ftp:ssl-protect-data true; mirror --reverse --continue --dereference -x ^\.git/$ $INPUT_LOCALDIR $INPUT_REMOTEDIR; quit"