This is the wrong list to ask that question but in your controller action
that responds to the link you have to call send file and probably the
mimetype

def get_readme
    send_file("files/README.txt", :filename => 'yo_readme.txt')
 end

Try googling that for more options

Cheers
Ivan

On Wed, May 21, 2008 at 6:40 PM, Sunny Bogawat <[EMAIL PROTECTED]> wrote:

> Hi,
> i want a such code which helps me download a csv file to each client
> machine when he click on download link, for this i am tried lots thing
> but it working for IE, but not for mac, Mozilla, safari.
> i want a optimum solution which works for all situation when i click on
> link, it give me pop up saying where to download file. i need help that
> what changes i do in controller on rhtml.
> please reply.
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Ironruby-core mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to