Re: Uploading a file using MavNet

"Chris Stevenson" <[email protected]>
Newsgroups gmane.comp.web.mavnet.user
Message-ID <[email protected]>
Thanks Ken, That will be very useful.

Chris

On 03/03/06, Ken Draper <[email protected]> wrote:
>
>  Here is a code snippet that would be found in a maverick controller.
>
>
>
>             HttpPostedFile file = Request.Files[0] as HttpPostedFile;
>
>             if (file != null) {
>
>                 string savedFilePath = Server.MapPath("/post") +
> "\\ScheduleOverride" + UserId.ToString() + ".csv";
>
>                 file.SaveAs(savedFilePath);
>
> }
>
>
>
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.