HtmlInputFile restrict file types

G

Guest

Hi

I'm trying to restrict file types with a HtmlInputFile Accept property. It
seems that this isn't supported for IE6? (doh!).

Can anyone recommend any free Upload components? Or a solution?

Cheers


Dan
 
W

William F. Robertson, Jr.

Why don't you just add javascript validation on the filename on the client
side and after they select the file you want, you can tell them it isn't
correct. I am assuming you want to limit to say... ".doc" files.

It was save from finding and installing various activeX controls.

bill
 
G

Guest

Hi Bill

Yep, could do that, must admit to having not thought of that one. However,
I'd still prefer to limit the types of files the users can upload if possible.

I don't mind fiddling with a control, as long as it's free!

:eek:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top