This isn’t in Spark Library format yet, but will be soon. Until then, check the repo:
The library makes it really easy to download large files from HTTP servers and saving them to an SD card. It handles HTTP Range headers to work around the CC3000 packet size limitation. This adds a lot of overhead to the download, but adds immense reliability where non existed before. It will also retry specific packets if they fail.
If anyone else has been struggling with the 1460 byte packet size limitation, this could be a model for you to get it working, as well.
Lastly, my C++ is a bit rusty. Don’t judge