Could you provide a code example of the connection between the links
and an action that sends the file?  I now have a list of links on a
page but clicking them gives:
"Firefox doesn't know how to open this address, because the protocol
(c) isn't associated with any program."
Thanks,
      Barney


On Aug 17, 8:43 pm, Barney <bsper...@gmail.com> wrote:
> Thanks, I'll give those steps a try.
> The name is leftover from earlier work and should be changed, as
> you've pointed out.
>      Barney
>
> On Aug 17, 7:52 pm, 7stud -- <li...@ruby-forum.com> wrote:
>
>
>
>
>
>
>
> > One way:
>
> > 1) Get thefilenames: Dir.foreach or Dir.glob.
> > 2) Create a view that provides a list oflinks, one for each file.
> > 3) Thelinksconnect to another action, which sends the file.
>
> > Why is your action named 'upload'?  How about 'download'?
>
> > --
> > Posted viahttp://www.ruby-forum.com/.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to