Upload a file to server?


#1

Hi,

We would like to upload a file to the server, like
user chooses a file with a browse button, then click
on a OK button, then the browser send the file to the
server, does anyone know how to do it in rails?

Thanks you very much

Saiho

The mind is its own place, and in itself.
Can make a Heaven of Hell, a Hell of Heaven.

http://www.geocities.com/sayoyo/


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


#2

file_column is a good general choice, if you want to attach a file to a
model (e.g an illustration of a product, a user portrait etc…)
http://www.kanthak.net/opensource/file_column/

dorian