RE: file upload multipart/form-data

"Cort Schaefer" <[email protected]>
Newsgroups gmane.comp.web.mavnet.user
Message-ID <[email protected]>
You can handle that directly in a controller using HttpPostedFile, as in:

 

HttpPostedFile file = Request.Files[0] as HttpPostedFile;

 

Then you can read from it like:

 

 

   _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of Andrew Rapp
Sent: Monday, February 13, 2006 7:44 AM
To: [email protected]
Subject: [Mavnet-user] file upload multipart/form-data

 

Is it possible to do file upload w/ Maverick, using <input type="file"
runat="server"> ?  If not what is the recommended solution?  Thanks

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.1.375 / Virus Database: 267.15.7/259 - Release Date: 2/13/2006


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.375 / Virus Database: 267.15.7/259 - Release Date: 2/13/2006
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.