I already have code that does this, modified from Michael Leonhard's
On Sun, Aug 10, 2008 at 4:20 AM, Edwin Fine
> I'm thinking of adding a feature to Yaws to allow -- in a standard
> form/multipart POST -- the data to be "streamed" directly to the file
> without buffering more than a few MB in memory. Looking at the code, it
> should be doable. This will allow files limited only by disk space to be
> uploaded. It would have to include some notion of maximum size allowed to
> prevent DoS-style attacks or just plain cluelessness from making the host
> run out of disk space.
> Does anyone think this is (a) feasible and (b) desirable?