1

I have one folder "PDFStore" shared with EVERYONE in my machine.

The code base is present in another remote machine.

I want to access the PDF file present within the folder PDFStore through Javascript from the remote machine.

so that i can open the PDF file in a new tab using Window.open() to fulfill my requirement.

When giving the path as the network path of the file, it is showing the error "Access denied".

Please suggest how can i access the file?

4

1 回答 1

2

我认为,您可以通过提供本地计算机的 IP 地址来做到这一点。

您可以尝试以下路径

"your_ip/the_alias_name_of_the_application/the_mapping_shared_folder"

如果托管在 IIS 服务器中,别名就可以解决问题。

于 2013-09-05T12:43:01.810 回答