JavaScript has no functions that interact with the "outside world", it can only do these things via COM or other external objects such as a browser.
If you want to read files using server-side script then you can use the
FileSystemObject on an IIS server.
If you want to read files on a server using client-side script then it's unlikely to work. You'd need to have a very low security setting on the browser and the files would need to be on a share. Another possibility is to allow WebDAV requests on the server combined with the XmlHttpRequest.
http://msdn.microsoft.com/library/de...econWebDAV.asp
http://msdn.microsoft.com/library/de...landwebdav.asp
--
Joe (
Microsoft MVP - XML)