locked
View PDF file in a server from UNC link RRS feed

  • Question

  • User546194788 posted

    I got a UNC link from third party program like below.

    \\order\archive\W20181001.PDF

    How to code to view this PDF file?

    Wednesday, October 3, 2018 7:04 PM

All replies

  • User-893317190 posted

    Hi aspfun,

    If you want to use UNC in html, you should  use right syntax of unc in html.(Of course , you should have the permission to access the file )

    Please refer to the link below https://stackoverflow.com/questions/1369147/linking-a-unc-network-drive-on-an-html-page

    If you want to show the pdf, you could use iframe with the address of unc as its src attribute.

     
              <iframe src="file://///server/path/to/file.pdf"></iframe>

    Best regards,

    Ackerly Xu

    Thursday, October 4, 2018 2:36 AM