I&#39;d say your best bet in this respect is a Mongrel plugin.&nbsp; send_file doesn&#39;t block until the transfer completes, but rather instructs the renderer to send a file as the content body.<br><br>send_file (at least with Mongrel) will read the entire file into memory as it&#39;s being sent, so if you&#39;re using it for large files you should seriously consider X-Sendfile instead
<br><br>-- <br>Tony Arcieri<br>ClickCaster, Inc.<br><a href="mailto:tony@clickcaster.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">tony@clickcaster.com</a><br><br><div><span class="gmail_quote">
On 5/15/07, <b class="gmail_sendername">Jameson Watts</b> &lt;<a href="mailto:jameson.watts@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jameson.watts@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

...anyone have experience waiting for the last bit in a rails send_file call?&nbsp; i.e.&nbsp; Need to verify that a file was downloaded before performing an action.<br><br>Regards,<br><span>Jameson<br>
</span><br>_______________________________________________<br>Bdrg-members mailing list<br><a href="mailto:Bdrg-members@rubyforge.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Bdrg-members@rubyforge.org
</a>
<br><a href="http://rubyforge.org/mailman/listinfo/bdrg-members" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://rubyforge.org/mailman/listinfo/bdrg-members</a><br></blockquote></div>