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

File protocol designator

Status
Not open for further replies.

bamboo

Programmer
Aug 22, 2001
89
US
I am wondering if there is an industry standard protocol when linking to a file on a 'file' server from a webpage. In our company we keep our web application files and document files (.doc, .ppt, .xls, etc.) separate. File servers/Web servers. We quite often link to file servers using the following protocol designator:

<a href="file://remotefileserver/folder/document">document</a>

This works fine in IE and Netscape, but not Mozilla. I was curious as to what others use in this situation. I've seen file://// and also just \\remotefileserver\folder\document used.
 

Have you tried:

Code:
file://\\remotefileserver\folder\document

Hope this helps,
Dan


[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]

 
file://\\server\folder\bookmarks.html works for me in IE but not in Firefox.
file:///\\server\folder\bookmarks.html works for me in Firefox and in IE. It got translated differently in the browsers:

Firefox changed it to : file:///%5C%5Cserver%5Cfolder%5Cbookmarks.html
and IE changed it to : \\server\folder\bookmarks.html

The 'file:///' seems to work across both. Weird! I don't have Netscape so couldn't check.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top