I got a UNC link from third party program like below.
\\order\archive\W20181001.PDF
How to code to view this PDF file?
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