File links will not work in Internet Explorer

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Question?

<a href="file:///c:/path/filename.pdf">File</a> will not work in IE? Has
anybody had this issue?

IE 6.0 Service Pack2

If you copy the path file:///c:/path/filename.pdf and paste it in the
address bar it will open the file, but if you try to click on the link it
doesn't do zip!!!
 
First, make sure your syntax is correct for local file URLs:
http://msdn.microsoft.com/library/default.asp?url=/workshop/networking/predefined/file.asp
http://www.faqs.org/rfcs/rfc1738.html - see section 3.10
File URLs
http://www.cs.tut.fi/~jkorpela/fileurl.html

There's been a change with IE 6 SP-2 with these local file URLs:

You may receive an error message when you click a hyperlink that references
a file on your local computer or on your local network in Internet Explorer
6
http://support.microsoft.com/default.aspx?scid=kb;en-us;896204

Also, make sure your Local Machine Zone security settings are set to allow
such action:

How to strengthen the security settings for the Local Machine zone in
Internet Explorer
http://support.microsoft.com/default.aspx?scid=kb;en-us;833633
 
Jon thanks for the reply. I can confirm that the URL is correct and does not
contain any white space characters.

The links work for any other type of hyperlink, but file:/// <-- I have
entered the links as "<a href="file://drive/filename.pdf">Text</a>" as a list
item and sharepoint transform the url to include in extra / in the href
attribute. <a href="file:///".

If anybody else could shed some light on this it would help 100 times fold.
 
Moojjoo said:
Question?

<a href="file:///c:/path/filename.pdf">File</a> will not work in IE? Has
anybody had this issue?

IE 6.0 Service Pack2

If you copy the path file:///c:/path/filename.pdf and paste it in the
address bar it will open the file, but if you try to click on the link it
doesn't do zip!!!


What is the security zone of the page which contains the link?

Have you tried assigning it to a different zone?


---
 
Back
Top