Filter for uploading a file
Posted on 2002-05-07
I'm developing a site, and amajor part of the working with that site is uploading files to the site servers.
I have some third party softwares that deals with this uploading things just fine.
BUT in the browser, when the user clicks on the "Browse" button near the file field, he/she gets a browsing window from the operating system, but with filter "All Files (*.*)" and the combo box shows two more options "Pictures (*.jpg, *.gif)" & "HTML (*.htm, *.html).
a simple example to the form upload field is here:
<form action="DocumentNew.asp" ENCTYPE="multipart/form-data" method="POST" name="DocumentNew">
file: <input type="file" name="filename" class="formtext" size="60">