Hello,
I was using the method send_file from an action on one of my
controllers to send a file to the users. The thing is that now the
file will be stored in an FTP and send_file only works with the HTTP
protocol. What can I do in this situation? This is what I had that
worked via HTTP:
def get_it
send_file "http://www.elioncho.com/uploads/babe.jpg"
end
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---