I am writing an asp.net web app which involves the use of the FileUpload control.
FileUpload
Right now, this particular FileUpload control only expects .z
you can create validate file extension from the ASP.NET FileUpload Control
I believe you could go for this solution
Validate File Extension for ASP.NET FileUpload Control