Version: (using KDE 4.0.1)
Installed from: SuSE RPMs
Metalinks contain mirror, checksum, & other information for downloads in an XML format. Most Metalinks also include chunk checksums (aka partial file checksums, as opposed to full file checksums) for segments of a file. These chunk checksums can be used to determine if a segment of the download is corrupted. If so, the corrupted chunk can be requested again.
For large downloads, where Metalinks are frequently used, this can save users considerable time and hassle, along with saved bandwidth.
This is one of the most important Metalink features, I hope KGet can support it.
Example Metalinks with chunk checksums can be found at http://download.packages.ro/metalink/openoffice/
The <pieces> section here contains an example of chunk checksums, some of which have been excised (...) to save space.
<pieces length="1048576" type="sha1">
Good idea =)
That will especially useful for multisourcedownloads for metalink.
yes, it would definitely be great for multisource downloads!
enough distributions use Metalink for ISO downloads, and errors in a 600MB to 3 GB file can be extremely frustrating. errors can be repaired w/ aria2 & metalinks (or by torrents, rsync) but we want things to be as easy for the user as possible.
for instance, he's an openSUSE page on Metalinks: http://en.opensuse.org/Metalink
most of the page covers how to repair a download, doing things that many users would rather not do. the information to repair the file is already in the .metalink, so hopefully more Metalink clients will make things easier on the user :)
I think if KGet supported repairing downloads w/ Metalinks, it would be the preferred download method for ISOs, instead of plain FTP/HTTP, for distributions. I mean, who wouldn't want simpler, error proof downloads?
Yes, it would be great!
In trunk now, though at the moment the checks are only done when the download finished and then (if needed) a repair starts.