Discussion Locked

While File uploading in ASP,?

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
While uploading a GIF image via an ASP program,the dialog box that open should have file type specified as only GIF(*.GIF) image and not All files(*.*).What should i do to have the same?Can any body help?

3 replies

by jay eckles

You as the web author can't control the file dialog box that accompanies the file type input element in a web page. This is a security measure; if you could manipulate the file dialog, then you would be able to steal files off of clients computers without their knowledge. The best I can think of is you could write a signed applet and use it to upload the file instead of an HTML multi-part form.

Jay Eckles
www.jayeckles.com

This discussion is closed to new replies.