PDA

View Full Version : Reading a file


hysterio
11-11-2005, 06:14 PM
Is it possible to read a file on a server with client-side code? and i know you can do it with ActiveXObject "Scripting.FileSystemObject", but that one seemed to be blocked on my internet provider

RysChwith
11-14-2005, 08:12 AM
JavaScript has a not-quite-standard HTTPRequest object that should serve. Give these a look:

http://developer.apple.com/internet/webcontent/xmlhttpreq.html
http://jibbering.com/2002/4/httprequest.html

Rys