[Seaside-dev] streamed upload?

Philippe Marschall philippe.marschall at gmail.com
Thu Apr 16 09:15:47 UTC 2009


2009/4/15 Sebastian Sastre <ssastre at seaswork.com>:
> ok then.
> And what happens next if we make, lets say a WAMimeDocument subclass
> WAStreamedMimeDocument?
> I ask because after reading how works now I was thinking about making something
> like:
>
>        html anchor
>                localFilename: aLocalFilename
>                mimeType: mimeType
>                fileName: aFileName
>
> aLocalFilename is the name of the file stored in the local disk

If you already have it on disk just send the X-sendfile header. That
goes straight to the OS kernel. More efficient that you could ever
imagine do implement it in Smalltalk.

Cheers
Philippe


More information about the seaside-dev mailing list