[Seaside] Re: What alternative for fileUpload with WAFile for large files?

Van Upboy van.upboy at gmail.com
Wed Mar 24 12:30:39 UTC 2010

Hi Goran,

Thanks for the tip, I certainly will try it.


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:


...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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100324/ee6bb0f6/attachment.htm

More information about the seaside mailing list