[Javascript] Re: Opening file from link

phumes1 phumes1 at home.com
Wed Nov 7 06:37:30 CST 2001


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.

More information about the Javascript mailing list