On 3 Jan 2008, at 03:47, 껄„wrote:

>    I am working on some upload file code , here it is :


It looks like you're using Rails, in which case you might save  
yourself some work with the attachment_fu plugin:

http://svn.techno-weenie.net/projects/plugins/attachment_fu/

And if you are using Rails you'll probably receive more responses on  
the Rails mailing list:

http://groups.google.com/group/rubyonrails-talk

Sorry not to have answered your question directly!

Regards,
Andy Stewart

-------
http://airbladesoftware.com