How to upload file to server

<%submit_tag "send"%> how can i save the file that has been choosen to a directory in server. send_file is the method to download file but how to upload it?

herb herb wrote:

<%submit_tag "send"%> how can i save the file that has been choosen to a directory in server. send_file is the method to download file but how to upload it?

Your missing some more here, keyword multipart.

But a Google search will help you along. Maybe read this first

http://www.flex888.com/2007/03/21/three-ruby-on-rails-file-upload-plugins-reviewed.html

Stephan

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs