Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Urgent... Changing File types in the File Upload component ...

Status
Not open for further replies.

agsenthil

Technical User
Mar 9, 2001
4
0
0
SG
Hi

I am using the <INPUT TYPE=&quot;FILE&quot;> component to upload files. When the &quot;Browse&quot; button is clicked, a small window for file uploading appears. I need to change the file types listed in the window. I tried using the ACCEPT attribute as <INPUT TYPE=&quot;FILE&quot; ACCEPT=&quot;TEXT/HTML&quot;>, but this did not restrict the file types.

How can I restrict the file types shown in this window, so that the users are not allowed to select any file type other than what is intended to be uploaded?

Pls help.

Thanks in advance,
-Senthil.
 
Let us know here if you find an answer. It could be very useful to know how to do that. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top