Doesn't curl already resume download if it can be resumed? Basically just measure the file size in disk and offset that while downloading and done. What benefit does this have?
I guess one is downloading multiple parts in parallel and then merging is possible. But that is if the server allows downloading with offset, in which case I think a simple curl script could do the same.