Files
Lajpat Bishnoi ae1ca5c2c0 filelu: fix multi-thread downloads re-downloading the whole file
Open turned the range and seek options into an offset and count, but it
never sent a Range header. It downloaded the file from the start and
threw away everything before the offset. Multi-thread copies open each
chunk separately, so a 5 GiB file in 80 chunks pulled about 200 GB from
the server and took over 30 minutes instead of under one. rclone mount
and resumed transfers were affected the same way.

Download through lib/rest, which turns the range and seek options into
a Range header. The FileLu file servers answer Range requests with 206
Partial Content.

Fixes #10305
2026-11-17 12:02:40 +00:00
..
2025-06-06 15:15:07 +01:00