ค้นหาฝ่ายสนับสนุน

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

เรียนรู้เพิ่มเติม

URI format for shared local files

  • 1 การตอบกลับ
  • 1 คนมีปัญหานี้
  • 2 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย philipp

more options

Firefox uses this format to access shared files on a local network... file://///host/path eg file://///computername/sharename/MyDocs/filename.txt.

This format is different from the standard form file://host/path that is used on other browsers eg Windows, Chrome.

This means that Firefox does not give me access to shared files when I have coded the standard format URI into my local HTML documents. Why is Firefox different or non-standard.

Firefox uses this format to access shared files on a local network... file://///host/path eg file://///computername/sharename/MyDocs/filename.txt. This format is different from the standard form file://host/path that is used on other browsers eg Windows, Chrome. This means that Firefox does not give me access to shared files when I have coded the standard format URI into my local HTML documents. Why is Firefox different or non-standard.

วิธีแก้ปัญหาที่เลือก

hello seebee, apparently file://///host/path is the standard form for a unc path:

"That's five slashes - two for the protocol, one to indicate the root of the file system, then two more to indicate the start of the server name." https://stackoverflow.com/questions/5317834/workaround-for-href-file-in-firefox

it is also explained in this bug from 2001: https://bugzilla.mozilla.org/show_bug.cgi?id=66194#c8

อ่านคำตอบนี้ในบริบท 👍 0

การตอบกลับทั้งหมด (1)

more options

วิธีแก้ปัญหาที่เลือก

hello seebee, apparently file://///host/path is the standard form for a unc path:

"That's five slashes - two for the protocol, one to indicate the root of the file system, then two more to indicate the start of the server name." https://stackoverflow.com/questions/5317834/workaround-for-href-file-in-firefox

it is also explained in this bug from 2001: https://bugzilla.mozilla.org/show_bug.cgi?id=66194#c8