Skip to content
Browse files

Use curl's -C continue option to start an incomplete or unfinished do…

…wnload from the point the file was left
  • Loading branch information...
1 parent 1178d1d commit 7454ed5baeb758eac04b52134ee74802a10774da @jaygooby committed Nov 9, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 ievms.sh
View
3 ievms.sh
@@ -58,7 +58,8 @@ download_file() {
if [[ $DOWNLOADTYPE -eq 1 ]]
then
- $DOWNLOADER -L $1 -o "$2"
+ # -C - tries to resume download from where it was left
+ $DOWNLOADER -C - -L $1 -o "$2"
else
$DOWNLOADER -c $1 -O "$2"
fi

0 comments on commit 7454ed5

Please sign in to comment.
Something went wrong with that request. Please try again.