mirror of
https://github.com/sebastianpopp/ftp-action.git
synced 2025-12-05 19:54:51 +01:00
Added max 2 connection retries
This commit is contained in:
parent
4a45a7fdaa
commit
1af5a261e3
1 changed files with 1 additions and 1 deletions
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh -l
|
||||
|
||||
lftp $INPUT_HOST -u $INPUT_USER,$INPUT_PASSWORD -p $INPUT_PORT -e "set ftp:ssl-force $INPUT_FORCESSL; set ssl:verify-certificate false; set ftp:ssl-protect-data true; mirror $INPUT_OPTIONS --reverse --continue --dereference -x ^\.git/$ $INPUT_LOCALDIR $INPUT_REMOTEDIR; quit"
|
||||
lftp $INPUT_HOST -u $INPUT_USER,$INPUT_PASSWORD -p $INPUT_PORT -e "set ftp:ssl-force $INPUT_FORCESSL; set ssl:verify-certificate false; set ftp:ssl-protect-data true; set net:reconnect-interval-base 5; set net:max-retries 2; mirror $INPUT_OPTIONS --reverse --continue --dereference -x ^\.git/$ $INPUT_LOCALDIR $INPUT_REMOTEDIR; quit"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue