Hi. I am developing an application where users can upload videos. I need to implement the functionality to download the videos on the end users desktop. i.e. i need to provide download link that will download the videos on the user''s system Any pointers ,how can i achieve this? Thanks Arpit --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
send_file is your friend. On Dec 27, 2:08 pm, "arpit jain" <jainarpit...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi. > > I am developing an application where users can upload videos. > I need to implement the functionality to download the videos on the end > users desktop. > i.e. i need to provide download link that will download the videos on > the user''s system > Any pointers ,how can i achieve this? > > Thanks > Arpit--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks Kitto, It solved my problem. Previously i used send_data but it didn''t work. Then i used send_file. Cheers. Arpit On Dec 27, 2007 7:17 PM, Kitto <clupprich-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > send_file is your friend. > > On Dec 27, 2:08pm, "arpit jain" <jainarpit...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Hi. > > > > I am developing an application where users can upload videos. > > I need to implement the functionality to download the videos on the end > > users desktop. > > i.e. i need to provide download link that will download the videos on > > the user''s system > > Any pointers ,how can i achieve this? > > > > Thanks > > Arpit > > >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---