1.1 --- a/scripts/functions Wed Oct 19 15:27:32 2011 +1300
1.2 +++ b/scripts/functions Mon Nov 07 21:40:28 2011 +0100
1.3 @@ -457,11 +457,10 @@
1.4 # not easy to detect them, so force a global ${CT_CONNECT_TIMEOUT}-second
1.5 # timeout.
1.6 # For curl, no good progress indicator is available. So, be silent.
1.7 - if CT_DoExecLog ALL curl --ftp-pasv \
1.8 - --retry 3 \
1.9 - --connect-timeout ${CT_CONNECT_TIMEOUT} \
1.10 - --location --fail --silent \
1.11 - --output "${tmp}" \
1.12 + if CT_DoExecLog ALL wget --passive-ftp --tries=3 -nc \
1.13 + --progress=dot:binary \
1.14 + -T ${CT_CONNECT_TIMEOUT} \
1.15 + -O "${tmp}" \
1.16 "${url}"
1.17 then
1.18 # Success, we got it, good!