i have done an asp.net mvc application for uploading file: i have this View
@using (Html.BeginForm("Uploading_validation", "Akeo", FormMethod.Post, new { enctype = "multipart/form-data" }))
{
<input type="file" name="dossier" />
<br />
@Html.Label("Date d'expiration")
<input type="text" id="datepicker" name="duree" />
<br />
<input type="submit" value="OK" />
}
I'd like to choose only the compressed files( .zip .iso .rar) .
So how can i make them the only possibles extensions to upload and also to display only these extension when i browse the files?