cURL / Mailing Lists / curl-library / Single Mail

curl-library

Resuming downloads; remote filesize

From: Glenn McGrath <bug1_at_optushome.com.au>
Date: Thu, 30 Aug 2001 09:58:05 +1000

Hi, im working on a mirroring program, im havign problems getting it to
resume transfers.

Obviously i only need to resume the transfer if the local filesize is
smaller than the remote filesize, but how can i findout the remote
filesize ?

From what i see of other programs they always set a resume point even if
its resuming from 0, i tried doing that but got error messages saying the
site doesnt support renge transfers, when clearly it does as curl can
resume from transfers, any idea how this could happen.

What should happen if i try and rsume from a point beyond the remote files
length ?

Glenn
Received on 2001-08-29