On Wed, Jun 17, 2009 at 03:15, C. Scott Ananian<csc...@cscott.net> wrote:
> When I wrote the sugar updater, I included all the code necessary to
> transfer only the changed portions of a large zip file.
>  http://dev.laptop.org/git/users/cscott/sugar-update-control/tree/bitfrost/util/urlrange.py
> contains the interesting bits.  The only missing piece was a proper
> manifest file format, which would allow you to download only the
> manifest to determine which bits have changed, so you could then
> download only the changed parts inside the zip file.

What about reading the zip index (central directory?), then deciding
which files to download by the timestamp and file size?

Regards,

Tomeu

>  --scott
>
> --
>                         ( http://cscott.net/ )
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to