[Seaside] What alternative for fileUpload with WAFile for large
files?
Göran Krampe
goran at krampe.se
Wed Mar 24 08:57:52 UTC 2010
Hi!
Van Upboy wrote:
> Hello,
>
> 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:
http://lists.squeakfoundation.org/pipermail/seaside/2008-August/018509.html
...it was a while since I played with that, not sure what status we have
today regarding Seaside and SocketStream in your particular image.
regards, Göran
More information about the seaside
mailing list