[Javascript] Re: Opening file from link
Cutter Bl
cutterbl at hotmail.com
Wed Nov 7 07:25:14 CST 2001
HMMMMM! Now, I'm fairly sure that this question has been answered (for you)
several times. It is not possible to do this with javascript. To allow
javascript access to anything outside the browser window would be a major
security hazard. You may wish to look into VBScript or JScript(if it will
solely be viewed with IE). You can find more detailed info on the two
scripting languages on the MS Scripting site (through MSDN).
P.S. Sorry if I'm a bit tight. I'm quitting smoking right now, something
programmers and web developers should never do.
Cutter
Falcon Knives
----Original Message Follows----
From: phumes1 <phumes1 at home.com>
Reply-To: javascript at LaTech.edu
To: javascript at LaTech.edu
Subject: [Javascript] Re: Opening file from link
Date: Wed, 07 Nov 2001 07:37:30 -0500
Hi,
I have a file(s) on our webserver which I would like to open on the client
PC in UltraEdit.
Here is an example.
<a href="file:///Z:/test/filename.dat">filename.dat</a>
If I click on the above link nothing happens. Yet, if I cut & paste
"file:///Z:/test/filename.dat" into my browser URL it opens the file in
UltraEdit on my PC. I don't understand the difference?
Is there a way with JS to get this file opened properly. Possibly having it
load automatically in another window? Not sure how to go about this.
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
http://www.LaTech.edu/mailman/listinfo/javascript
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
More information about the Javascript
mailing list