i have an admin section of my website where \"authors\" can upload files like pictures for photo galleries, etc to include in dynamic content sections of my website later.
If you create a form with an enctype of multipart/form-data then you can receive an HttpPostedFileBase in your Controller.
In the view:
In the Controller:
public ActionResult MyAction(HttpPostedFileBase httpPostedFileBase)
{
// Your code here.
}
The httpPostedFileBase argument will get mapped by the default model binder.