Hello,
I am looking for someone to do a simple modification for my download script. Currently, I am using Lighttpd to serve downloads, and use the lines:
header('Accept-Ranges: bytes');
header('Content-Length: $size');
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename="' . $file_name . '"');
header('X-LIGHTTPD-send-file: ' . $file_path);
This script downloads files fine, but I am unable to enable download resuming. I was wondering if someone could find a way to implement range headers with the Lighttpd send-file function. I am willing to pay a decent amount in order to get this done properly.
Thanks!