SitePoint Sponsor |
|
User Tag List
Results 1 to 1 of 1
-
Jul 9, 2006, 17:43 #1
- Join Date
- Dec 2005
- Posts
- 4
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Microsoft.XMLHTTP failing to uncompress a file
Hi,
I'm attempting to use the XMLHTTP object to fetch a compressed file then load it into an XML object. On a client PC the file is always remaining uncompressed and hence failing to do the load.
Anyone ever seen this before?
He is my code:
Code:var messageFile = new ActiveXObject("Microsoft.XMLDOM"); messageFile.async = false; messageFile.preserveWhiteSpace = true; var httpRequest = new ActiveXObject("Microsoft.XMLHTTP"); httpRequest.open('GET', server.value + '/logonMsgFile.zhtml', false); httpRequest.send(''); messageFile.load(httpRequest.responseBody); if (messageFile.documentElement == null) alert('failed to load message file');
Mike
Bookmarks