Hi,

I am having problem with sending file to browser with rails, to let the
user download them.


Here is my situation:

I have built a little webmail client, and I need to make attachments
downloadable to the users. I have the base64 ecoded  rappresentation of
the file, and I don't know how to generate and send the file.


I have tried send_data, with disposition :attachment, but the request
take a lot of time and it doesn't even prompt the download dialog. I am
surely missing the whole point here, and I need some clarity.

thanks

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/7d117f9f36386b5edf8436051930bd3d%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to