I'd like to setup a web-server (or other kind of server?) that will allow clients to download a file using http. However, I want to start serving the file before it has been fully written to disk.
Ideally, the server would send as much data as is available, and then slow down till more data is ready.
As far as the browser is concerned, this should look like a "regular" download, however the content-length will not be known at start. Is this ok?
Any recommendations how to setup such a server?