Hi
I’m trying to implement file upload on rails using HTTP PUT. Is there a
way to handle de input stream before it gets parsed?
What I mean to do is start writing the file somewhere just as data
arrives, in order to be able to resume failed uploads
Thanks
On Thursday, November 30, 2006, at 12:19PM, “Tulsi D.”
[email protected] wrote:
Hi
I’m trying to implement file upload on rails using HTTP PUT. Is there a
way to handle de input stream before it gets parsed?
What I mean to do is start writing the file somewhere just as data
arrives, in order to be able to resume failed uploads
Tulsi,
there is no way to trap this information in Rails without lots of ugly
hacking. I have the same goal as you so perhaps we can work together on
this.
I’m currently looking at modifying Mongrel to handle this. It makes
sense to put this support directly into the HTTP server. I can share my
ideas with you if you are interested. Email me offline and we can
discuss it.
cr