# Storing the file name or file path while File Upload

**URL:** <https://www.ruby-forum.com/t/storing-the-file-name-or-file-path-while-file-upload/168200>\
**Category:** Rails\
**Created:** [May 18, 2009, 7:45am UTC](https://www.ruby-forum.com/t/storing-the-file-name-or-file-path-while-file-upload/168200 "2009-05-18T07:45:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![devirv](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/9de053/32.png) [@devirv](https://www.ruby-forum.com/u/devirv)\
**Post date:** [May 18, 2009, 7:45am UTC](https://www.ruby-forum.com/t/storing-the-file-name-or-file-path-while-file-upload/168200/1 "2009-05-18T07:45:04Z")

</div>

Hi,

When upload image file that image file have to be stored in application  
path and the file name or file path have to be stored in database.Please  
help me anyone knows.

Thanking You  
Devi.R
