cuducos / chunk

🧱 Chunk is a download manager for slow and unstable servers
MIT License
56 stars 3 forks source link

Implement HTTP content range to download files chunk by chunk #5

Closed cuducos closed 1 year ago

cuducos commented 2 years ago
  1. Enqueue HTTP requests by chunk, not by URL
  2. Use HTTP content range to process each chunk download
  3. Coordinate the write []byte received per chunk to the file (here, creating the file with truncate to the total size might help)