On Mar 11, 12:27 am, Ralph Shnelvar <[email protected]> wrote: > Is there a document somewhere that describers how I would implement, in > Rails, a "resume download"? > > I have a large video I want people to download (if they want to). > > My partner has a bad Internet connection and it crashed several times > and he wanted to resume but the download wouldn't. > > How do I set things up so that a download is restartable?
You need to support partial gets: if the get request contains (for example) Range: 500000- then you only send bytes from that offset. If this is just a static asset then it's nothing to do with rails: you need to make sure that your web server's configuration allow this. If it's something being sent via send_file etc. then i'd hope that rails would handle this for you Fred > > Is this a Rails issue or am I way OT? > > -- > Posted viahttp://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

