[Javascript] Re: Opening file on server with JS

Phil Winstanley phil.winstanley at creations.co.uk
Thu Nov 8 17:04:56 CST 2001


All depends what the drive x:\ is pointing to - if its pointing t a mapped
drive on the server then no ...

(question isn't clear you're right)

Plip.
_____________________________
Company Idiot
Creations Group Limited
_____________________________
 


-----Original Message-----
From: Peter Brunone [mailto:peter at brunone.com] 
Sent: 08 November 2001 22:52
To: javascript at LaTech.edu
Subject: RE: [Javascript] Re: Opening file on server with JS



	Won't that try to open a file on the client rather than on the
server?

|-----Original Message-----
|From: javascript-admin at LaTech.edu 
|[mailto:javascript-admin at LaTech.edu]On
|Behalf Of .ben
|Sent: Thursday, November 08, 2001 3:37 PM
|To: javascript at LaTech.edu
|Subject: RE: [Javascript] Re: Opening file on server with JS
|
|
|How about using the onLoad event?
|
|function openThing()
|{
|	document.location.href = 'file://x:\directory\test\filename.dat';
|}
|
|<body onLoad="openThing();">
|
|see if that works.
|
| .b
|
|> -----Original Message-----
|> From: javascript-admin at LaTech.edu 
|> [mailto:javascript-admin at LaTech.edu]On
|> Behalf Of phumes1 at home.com
|> Sent: 08 November 2001 21:18
|> To: Javascript at LaTech.edu
|> Subject: [Javascript] Re: Opening file on server with JS
|> 
|> 
|> 
|> How can I open a file or load a file with JS automatically from a 
|> page rather than having to click on a link?
|> 
|> I have the following link in a file.
|> 
|> <a href="file://x:\directory\test\filename.dat">Open file</a>
|> 
|> How can I have this execute automatically. I don't want to have to 
|> click on the link.
|> 
|> _______________________________________________
|> Javascript mailing list
|> Javascript at LaTech.edu 
|> http://www.LaTech.edu/mailman/listinfo/javascript
|> 
|_______________________________________________
|Javascript mailing list
|Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript
|
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu http://www.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20011108/b67e2120/attachment.htm>


More information about the Javascript mailing list