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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Filtering the Choose File Dialog - File Upload

Status
Not open for further replies.

ryandoah

Programmer
Mar 5, 2004
101
US
Hi All,

I posted this question in the HTML forum, but wanted to post it here also, since my site is built in ASP, and think the answer may only be capable using scripting.

I have a page used for uploading PDF images to our server. It is set up using ABCUpload and seems to work fine. I have the accept="application/pdf", which works fine also, for not accepting anything but .pdf files. Though, one of my supervisors wants the Choose File dialog box to only display .pdf files and not All Files(*.*), or the other choices. How do I filter this to just display the wanted MIME Type?

Thank you,
ryandoah


 
i dont think that can be done. (there is an attribute called "accept" if i am correct, but it does not stop the users from selecting other files)

Known is handfull, Unknown is worldfull
 
Yeah, I'm using the accept function, fairly handy, but not idiot proof. I need idiot proof around here. :}

Thanks,
ryandoah
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top