File upload

Hai

Give me an example for file upload. And tell me which one is better
storing the file in our public(rails folder structure) folder is better
or database?

regards
selvaraj

Selvaraj wrote:

Hai

Give me an example for file upload. And tell me which one is better
storing the file in our public(rails folder structure) folder is better
or database?

regards
selvaraj

hai

i forgot to tell u that i want to upload the text file(like .txt
,doc,xls)

Questions like that are usually ignored in a community of volunteers.
Many
consider this type of question a “demand that you do it for me”. Perhaps
you
should rephrase that with something like

"Hey, I’m trying to upload a file to my site, and after following the
directions at , I’m stuck. Can anyone look at my code
and
tell me where I went wrong?

You should be able to search Google for “rails upload files” and find
your
answers. There are several Rails plugins that will help you out and have
excellent documentation with working examples.

Good luck… remember, if you get stuck implementing one of your
solutions,
I’m sure someone will help you if you can show some code :slight_smile:

Is this directed at your employee or a student? If not, we should
exercise little civility here.

or maybe we could point them to previous discussions on this topic.

http://groups.google.com/group/rubyonrails-talk/search?hl=en&group=rubyonrails-talk&q=file+upload&qt_g=Search+this+group
or http://tinyurl.com/yq77w3

but yes, we should be polite.

just my two cents.

John

John I. wrote:

or maybe we could point them to previous discussions on this topic.

http://groups.google.com/group/rubyonrails-talk/search?hl=en&group=rubyonrails-talk&q=file+upload&qt_g=Search+this+group
or http://tinyurl.com/yq77w3

but yes, we should be polite.

just my two cents.

John

hai guys,

This is not good,If u know the answer u can tell. Otherwise dont
advise to unknow people. You may familiar with this group. Dont expect
to evry one.

When u people getting this kind of behavior.After getting some
knowledge or from born itself.