We are using a PHP scripting for tunnelling file downloads, since we don\'t want to expose the absolute path of downloadable file:
header(\"Content-Type: $ct
Yes. Support byteranges. See RFC 2616 section 14.35 .
It basically means that you should read the Range header, and start serving the file from the specified offset.
This means that you can't use readfile(), since that serves the whole file. Instead, use fopen() first, then fseek() to the correct position, and then use fpassthru() to serve the file.