Download functionality

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

send_file is your friend.

Thanks Kitto,
It solved my problem.
Previously i used send_data but it didn’t work.
Then i used send_file.
Cheers.
Arpit

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs