<div dir="ltr"><font color="#330033"><font size="2"><font face="tahoma,sans-serif">Serving them directly from a webserver can be performed in two ways:<br>1) completely detached from Seaside, where the links are simply external.<br>
2) referenced by FileLibrary, but served through the webserver. This can be done using the new X-Sendfile functionality (using the base url as mentioned).<br><br><br>Avi.<br></font></font></font><br><div style="margin: 0pt;" name="sig_d41d8cd98f">
</div><div class="gmail_quote">On Tue, Mar 8, 2011 at 10:59 PM, Robert Sirois <span dir="ltr">&lt;<a href="mailto:watchlala@hotmail.com">watchlala@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">




<div>
Then the web server would be serving them directly (nginx, apache, etc.), right?<br>
 <br>
I&#39;m interested in this, too. I was gonna be looking at doing something similar to Dropbox or Base Camp.<br>
 <br>
RS<br> <br>

<hr>
Date: Tue, 8 Mar 2011 22:19:53 +0200<br>Subject: Re: [Seaside] Making a download page<br>From: <a href="mailto:avishefi@gmail.com" target="_blank">avishefi@gmail.com</a><br>To: <a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><div>
<div></div><div class="h5"><br><br>
<div dir="ltr"><font color="#330033"><font size="2"><font face="tahoma,sans-serif">There are several options to this.<br> - 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.<br>
 - Load files from the filesystem into the filelibrary (using WAFileLibrary&gt;&gt;#addFile, or WAFileLibrary class &gt;&gt;#addFileAt: / addAllFilesIn: ).<br> - There&#39;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: &lt;base-url&gt;/&lt;file-library-name&gt;/&lt;file-name&gt;<br>
<br>You can also refer to files directly on the filesystem, which doesn&#39;t require any FileLibrary support.<br><br><br>Avi.<br></font></font></font><br>
<div></div>
<div>On Tue, Mar 8, 2011 at 9:02 PM, Ricardo Jacas <span dir="ltr">&lt;<a href="mailto:ricardo.jacas@gmail.com" target="_blank">ricardo.jacas@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="padding-left: 1ex;">Hi, i&#39;m trying to make a simple downloading function from files<br>already in the server.<br>I was using the book&#39;s example but i cant make it work, because the<br>example already has the file in a variable, and i need to refer a file<br>
in the system.<br>anyone got a simple solution?<br><br>Thanks beforehand for any help on this :)<br><font color="#888888"><br>--<br>lets reign all together<br>_______________________________________________<br>seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</font></blockquote></div><br></div><br></div></div>_______________________________________________ seaside mailing list <a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a> <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>                                               </div>

<br>_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br></blockquote></div><br></div>