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

Easy Question: disable "you are downloading the file"

Status
Not open for further replies.

eramgarden

Programmer
Aug 27, 2003
279
US
I have a webpage with 4 links on them. One of them has this behind the link:

<area shape=&quot;rect&quot; coords=&quot;335,351,542,389&quot; href=&quot;file:///C:/Program%20Files/.......

When I click on this link, a pop-up box comes up and asks:

&quot;you are downloading the file..would you like to open or save this to your computer?&quot;...

How can I disable this msg??

Thanks for any help and ideas..
 
Uncheck the box that says &quot;Always ask before opening this type of file&quot;
 
If, however, you're asking how you can force that message to not come up for people who click that link on your page.. the answer is you cannot. Imagine how much wierd stuff you'd be finding on your hard drive if it WAS possible..

Posting code? Wrap it with code tags: [ignore]
Code:
[/ignore][code]CodeHere
[ignore][/code][/ignore].
 
One more question tho...what makes it pop-up that box? is it because it's &quot;href=file:///...&quot; ?
 
Hi mate,

The reason you see the security dialog is because the browser doesn't know how to handle the file. If the file extension is unknown to the browser then it will attempt to download it.

Hope this helps

Wullie


The pessimist complains about the wind. The optimist expects it to change.
The leader adjusts the sails. - John Maxwell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top