On Nov 6, 11:07*pm, Salil Gaikwad <rails-mailing-l... (AT) andreas-s (DOT) net>
wrote:
Quote:
Save a file where? On the server's filesystem or the client's? Not
much info in this question...
--Matt Jones
Hi Matt,
I want to save file at Client's System. |
The most reliable way to get a file to download every time (regardless
of content type) is to send a Content-Disposition header set to
'attachment'. See this doc:
http://support.microsoft.com/kb/260519
(on the MS KB, but the header works everywhere).
--Matt Jones
--~--~---------~--~----~------------~-------~--~----~
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 (AT) googlegroups (DOT) com
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe (AT) googlegroups (DOT) com
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---