1
HFS ~ HTTP File Server / [Script] WebCam Shot
« on: December 22, 2015, 12:45:53 PM »
Hello. I have Batch script, which make shot from USB WebCamera and write it into JPG file.
And I want share this image via HFS. I add this file into HFS FileSystem, but I should "refresh image" (make shot from WebCam into this file).
How I can run Batch script from HFS when it's necessary? I mean:
And I want share this image via HFS. I add this file into HFS FileSystem, but I should "refresh image" (make shot from WebCam into this file).
How I can run Batch script from HFS when it's necessary? I mean:
- HFS hook receive "GET /image.jpg request"
- HFS run batch script (update this image)
- HFS send answer (image) to browser