[Seaside] What alternative for fileUpload with WAFile for large
goran at krampe.se
Wed Mar 24 08:57:52 UTC 2010
Van Upboy wrote:
> I'm using fileUpload (seaside 2.8), which uses a WAFile to store the
> contents directly. However, this doesn't work for (very) large files,
> because pharo will run out of memory. Likewise, an anchor like this:
> html anchor
> document: aWAFile contents
> mimeType: aWAFile contentType
> fileName: aWAFile fileName;
> with: aWAFile fileName.
> won't work, because I can't serve the content directly from memory.
> I'm new to SmallTalk & Seaside, and I'm wondering how I should approach
> this problem?
I posted a changeset a long while back that adds streaming upload
directly to disk:
...it was a while since I played with that, not sure what status we have
today regarding Seaside and SocketStream in your particular image.
More information about the seaside