-
-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
range feature for httpd #1052
Comments
Enable this
|
Thanks for your advice. |
Did you try to download a piece of a real file to check if the range function works? The dl.cgi is a script that proxies content of the requested file from anyplace in the system to the http client. This might be a problem for determining the range. If direct dowload works with the enabled option, we'll start from there. |
Hello @themactep
This is a lot of work and many problems and it takes time... |
Hello,
I try to download video files from openipc camera, but only some part of file. (range feature for http download)
The purpose is to send video file of alarm few seconds before trigger.
The feature from HTTP1.1 seems not enabled by default in openipc.
Is it possible to activate it ?
Exemple, when doing :
curl -r -5000 http://user:pwd@IP:85/cgi-bin/dl.cgi?file=/mnt/mmcblk0p1/2023/10/14/XX.mp4
Curl should download only last 5000 bytes from file, but instead it download whole file (which is very long and useless)
Or perhaps there is another way to do this ?
Thanks
The text was updated successfully, but these errors were encountered: