Hi,<div><br></div><div>Somewhat belatedly I&#39;ve finally got round to documenting and extracting the Nginx file upload and progress component and configuration I use:</div><div><br></div><div><a href="http://nickager.com/blog/file-upload-using-Nginx-and-Seaside">http://nickager.com/blog/file-upload-using-Nginx-and-Seaside</a></div>
<div><br></div><div>Feedback always appreciated. If you experiment with the embedded upload components (an interactive blog!) , be gentle I&#39;m running on a free EC2 micro-instance: <a href="http://aws.amazon.com/ec2/#instance">http://aws.amazon.com/ec2/#instance</a></div>
<div><br></div><div><a href="http://aws.amazon.com/ec2/#instance"></a>Nick </div><div><br><div class="gmail_quote">On 16 June 2011 20:47, Johan Brichau <span dir="ltr">&lt;<a href="mailto:johan@inceptive.be">johan@inceptive.be</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Diego,<br>
<br>
We have it working.<br>
But without any special registered upload application that handles the callback. The callbacks get called just like they always did before when serializing a form. Are you sure you need a component to be registered under /upload? (see below and my previous email). We also do it without javascript, but that&#39;s probably only because we do not use the progress indicator module.<br>

<br>
As I said in my previous email, what went wrong in our config is that we made the upload go to a location called &#39;/upload&#39; instead of merely adding &#39;upload&#39; at the end of the action url that is created by seaside. This works perfectly because seaside will just disregard that part of the url path that comes after the application name. In Nick&#39;s config, it&#39;s not necessary to add it at the end of the path because he has the app registered at the &#39;/&#39; location.<br>

<br>
Thanks to the three of you for sending me code and nginx configs. It definitely set us on the right track.<br>
<font color="#888888">Johan<br>
</font><div><div></div><div class="h5"><br>
On 16 Jun 2011, at 21:26, Diego Lont wrote:<br>
<br>
&gt; Hi Johan, hi Nick,<br>
&gt;<br>
&gt; Stephan and I made an implementation based on Nick&#39;s work on the upload component. It works currently under 2.8, and there are still some small issues, but basically it works as follows:<br>
&gt;       - There is a component, you simply put on the place you want the upload.<br>
&gt;       - It calls uses nginx for the upload.<br>
&gt;       - For the callback there is component, that is registered under &quot;upload&quot; and has implemented the initialRequest that ensures the callback is called.<br>
&gt;<br>
&gt; The work that still needs to be done:<br>
&gt;       - The callback is registered on the class side of the component. It is released when the component is called again and the session is expired. This does not work yet on 3.0.<br>
&gt;       - Nick made an progress indicator, this does not work yet and the code is still included and some points<br>
&gt;       - Nick made all java script in jquery, we made it plain javascript, since we have not upgraded our library yet. But this should be in jquery again.<br>
&gt;<br>
&gt; I will do some work on it monday, and will try to upgrade it to 3.0. Than I will include it on the mailinglist. I already mailed the current state to Johan, but it was made during our stay at SPA (London), and I did not had tested the package I made. Also the configuration was mailed seperatedly. So Johan, I like to hear wether it worked on your side. You can Skype Stephan tomorrow and me on Monday if you want some assistance.<br>

&gt;<br>
&gt; grtz. Diego_______________________________________________<br>
&gt; seaside mailing list<br>
&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt; <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>
_______________________________________________<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>
</div></div></blockquote></div><br></div>