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 try the below code.
It works with modern browsers.
Do not forget to validate the extensions using code behind procedures.