From: Kent Dahl Date: 2001-10-29T02:00:01+09:00 Subject: [ruby-talk:23685] Re: CGI and file upload. Stefan Scholl wrote: > But the cgi library is a bit complicated. All of the parameters get > Tempfile objects. Which is bad because sometimes you have a existing > cgi programm and just want to add a file upload. Now you have to handle > _all_ parameters in a different way. They are tempfiles now. And don't > forget to close them! I thought tempfiles closed themselves upon exit. Atleast that is what they are supposed to do if the underlying tempfile methods of the C library is used. -- <[ Kent Dahl ]>================<[ http://www.stud.ntnu.no/~kentda/ ]> )____(stud.techn.;ind.�k.data)||(softwareDeveloper.at(Trustix))_( /"Opinions expressed are mine and not those of my Employer, "\ ( "the University, my girlfriend, stray cats, banana fruitflies, " ) \"nor the frontal lobe of my left cerebral hemisphere. "/