Friday, November 19, 2010

Re: [Rails] Triggering the standard Save dialog

On Fri, Nov 19, 2010 at 9:28 AM, Ralph Shnelvar <lists@ruby-forum.com> wrote:
> I have a file, a non-ruby executable or zip file, and I want to trigger
> the standard "Save file As" dialog.

> Surely there must be a simple way to enable the user to download a file
> that they want to get and that I want to give them.

What's wrong with putting it somewhere under /public and providing
that URL?

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan

--
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@googlegroups.com.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate