[Seaside] Making a download page

Avi Shefi avishefi at gmail.com
Tue Mar 8 20:19:53 UTC 2011

There are several options to this.
 - Upload all files to the file library in advance, and display them to the
user. The FileLibrary also provides mechanism for loading new files, so
there should be no problem to update it.
 - Load files from the filesystem into the filelibrary (using
WAFileLibrary>>#addFile, or WAFileLibrary class >>#addFileAt: /
addAllFilesIn: ).
 - There's a new option on Seaside 3.0.4 which allows you to specify a
configuration value for file handlers that determines the base url of a file
library. This way, your absolute urls would be:

You can also refer to files directly on the filesystem, which doesn't
require any FileLibrary support.


On Tue, Mar 8, 2011 at 9:02 PM, Ricardo Jacas <ricardo.jacas at gmail.com>wrote:

> Hi, i'm trying to make a simple downloading function from files
> already in the server.
> I was using the book's example but i cant make it work, because the
> example already has the file in a variable, and i need to refer a file
> in the system.
> anyone got a simple solution?
> Thanks beforehand for any help on this :)
> --
> lets reign all together
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110308/657b072f/attachment.htm

More information about the seaside mailing list