I want to read an html document generated by another asp script and save it to an html file.
I have a button that calls a vbscript:
<input type="button" value="Save Modified File" name="B1" onclick="stroutputfile">
set objXMLHTTP = Server.CreateObject("Micro
set objFSO = createobject("scripting.Fi
set objTFN = objFSO.Createtextfile("c:\
The problem seems to be getting the set statements right. As it is here, I get an error:
Object required: server
On the filesystem one I get:
ActiveX component can't create object: 'scripting.Filesystemobjec
I have tried a lot of variations based on code samples I have found on EE, but nothing seems to work.