# How to save the uploaded file

**URL:** <https://www.ruby-forum.com/t/how-to-save-the-uploaded-file/58240>\
**Category:** Rails\
**Created:** [April 19, 2006, 10:19pm UTC](https://www.ruby-forum.com/t/how-to-save-the-uploaded-file/58240 "2006-04-19T22:19:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chandra](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/57b2e6/32.png) [@chandra](https://www.ruby-forum.com/u/chandra)\
**Post date:** [April 19, 2006, 10:19pm UTC](https://www.ruby-forum.com/t/how-to-save-the-uploaded-file/58240/1 "2006-04-19T22:19:04Z")

</div>

Hi,

Can anyone tell me how to save the uploaded file and what are all the  
steps  
that are required in this process.As of now i am able to get the  
uploaded file  
name and saving it to the database.But while i am trying to retrieve it  
i am not able to do that because i am not saving the image to file  
system.

Thanks,  
Chandra.

---

<div class="post-metadata">

**Author:** ![chandra](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/57b2e6/32.png) [@chandra](https://www.ruby-forum.com/u/chandra)\
**Post date:** [April 19, 2006, 10:41pm UTC](https://www.ruby-forum.com/t/how-to-save-the-uploaded-file/58240/2 "2006-04-19T22:41:51Z")

</div>

[http://wiki.rubyonrails.com/rails/pages/HowtoUploadFiles](http://wiki.rubyonrails.com/rails/pages/HowtoUploadFiles)
