Ok I didn&#39;t know that.<div>So, in other words, here is the situation:</div><div><ul><li>A user wants to export something from my website.</li><li>He clicks on the button &#39;export&#39; that I created.</li><li>I have implemented that when this button is clicked, a file is created and a content is written in it, then the file is closed.</li>

<li>The web-browser is going to ask where the user wants to put the file or is going to put it in a default directory automatically?</li></ul><div>Thank you for your answer :)</div></div><div>cheers</div><div>alex</div><div>

<br></div><div><br><div class="gmail_quote">2010/12/4 Lukas Renggli <span dir="ltr">&lt;<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

The security model of HTTP/JavaScript does not allow such a thing.<br>
This is the web-browser that does the handling of the downloaded file<br>
automatically. Possibly there is a way to circumvent that with<br>
Flash/Java, but that&#39;s not advisable in my opinion.<br>
<br>
Lukas<br>
<div><div></div><div class="h5"><br>
On 4 December 2010 13:54, alexandre bp &lt;<a href="mailto:abalonpe@ulb.ac.be">abalonpe@ulb.ac.be</a>&gt; wrote:<br>
&gt; Thx but actually I&#39;d like to choose the directory (not a file) so that the<br>
&gt; user can download the file (which comes from my website) where he wants.<br>
&gt; Alex<br>
&gt;<br>
&gt; 2010/12/4 Robert Sirois &lt;<a href="mailto:watchlala@hotmail.com">watchlala@hotmail.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; WAFileUploadTag<br>
&gt;&gt;<br>
&gt;&gt; &quot; I think you end up with a WAFile instance or something? I&#39;d have to<br>
&gt;&gt; look, but you can always just explore it &quot;<br>
&gt;&gt; html fileUpload<br>
&gt;&gt;     on: #iVar of: self.<br>
&gt;&gt;<br>
&gt;&gt; RS<br>
&gt;&gt;<br>
&gt;&gt; ________________________________<br>
&gt;&gt; From: <a href="mailto:abalonpe@ulb.ac.be">abalonpe@ulb.ac.be</a><br>
&gt;&gt; Date: Sat, 4 Dec 2010 16:41:16 +0100<br>
&gt;&gt; Subject: [Seaside] Choose Directory Window<br>
&gt;&gt; To: <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt; I&#39;d like to open a new window from my webpage to ask the user to choose a<br>
&gt;&gt; directory where he wants to save a file.<br>
&gt;&gt; I tried this:<br>
&gt;&gt; canvas submitButton<br>
&gt;&gt;<br>
&gt;&gt; callback:[<br>
&gt;&gt;<br>
&gt;&gt; fileWindow := FileDialogWindow new.<br>
&gt;&gt;<br>
&gt;&gt; directoryPath := fileWindow chooseDirectory:&#39;Choose a directory&#39;.];<br>
&gt;&gt;<br>
&gt;&gt; with:&#39;Choose directory&#39;.<br>
&gt;&gt;<br>
&gt;&gt; It works but the window is open in pharo and not on my website.<br>
&gt;&gt; How can I change that?<br>
&gt;&gt; Thx in advance.<br>
&gt;&gt; alex<br>
&gt;&gt; _______________________________________________ seaside mailing list<br>
&gt;&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt;&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>
&gt;&gt; _______________________________________________<br>
&gt;&gt; seaside mailing list<br>
&gt;&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt;&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>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
<div class="im">&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>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div><font color="#888888">--<br>
Lukas Renggli<br>
<a href="http://www.lukas-renggli.ch" target="_blank">www.lukas-renggli.ch</a><br>
_______________________________________________<br>
</font><div><div></div><div class="h5">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>