M
mallen
Guest
Tomas, If you have determined the range of bytes requested from the Range header sent by the client, you can use the copy-lob statement to extract those bytes from the file. copy-lob from file {filename} starting at {pos} for {len} to object myMemptr. You would also need to respond with a status of 206. output-http-header("Status", "206 Partial Content"). output-http-header("Content-Length", "..."). output-http-header("Content-Range", "..."). output-http-header("Content-Type", "..."). {&OUT-LONG} myMemptr. Regards
Continue reading...
Continue reading...