diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/functions | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/scripts/functions b/scripts/functions index 63c0423..46955a8 100644 --- a/scripts/functions +++ b/scripts/functions @@ -457,11 +457,10 @@ CT_DoGetFile() { # not easy to detect them, so force a global ${CT_CONNECT_TIMEOUT}-second # timeout. # For curl, no good progress indicator is available. So, be silent. - if CT_DoExecLog ALL curl --ftp-pasv \ - --retry 3 \ - --connect-timeout ${CT_CONNECT_TIMEOUT} \ - --location --fail --silent \ - --output "${tmp}" \ + if CT_DoExecLog ALL wget --passive-ftp --tries=3 -nc \ + --progress=dot:binary \ + -T ${CT_CONNECT_TIMEOUT} \ + -O "${tmp}" \ "${url}" then # Success, we got it, good! |