By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,276 Members | 2,137 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,276 IT Pros & Developers. It's quick & easy.

Opening files using window.open(file:///G:\phs-4.pdf)

P: n/a
could someone give me some advise on a problem I have. At present i have a
web application which displays pdf files in a web browser using javascript
and the window.open method and pointing to a web address like
window.open(http://.........).
I have been asked to find out if it is possible to do something similar but
instead opening a file located on my web server e.g.(G:\psh-4.pdf). I would
like to be able to display the file in the web browser using the
window.open method again but this time pointing to the location on my web
server. I need to be able to open the file using something like:
window.open(file:///G:\phs-4.pdf).
Does anyone know if this is possible and if so has anyone any examples of
where this has been done before? Any explanations about how this works would
also be useful as I have to try and explain this.
Thanks in advance for any help anyone can give me.
Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.