D
Danny
I am able to read the contents of our dynamic pages, but how can I create
these html files on the fly on our server using asp. THe code below is a
test to see if I can read the html and then save it to a file on our server
in the same directory.
It will not let me write to the file.
I am trying to create static html pages from our dynamic asp script.
I know it is an writes issue, but does anybody have any other ideas?
Thanks
code is below:
----
Set http = CreateObject("microsoft.xmlhttp")
testfile = http://www.myserver.com/index.asp?product=55
http.Open "Post", testfile,False
testit2 = http.Send()
testit = http.responsetext
Set fs = CreateObject("Scripting.FileSystemObject")
Set a = fs.CreateTextFile("testfile.html, True)
a.write (testit)
these html files on the fly on our server using asp. THe code below is a
test to see if I can read the html and then save it to a file on our server
in the same directory.
It will not let me write to the file.
I am trying to create static html pages from our dynamic asp script.
I know it is an writes issue, but does anybody have any other ideas?
Thanks
code is below:
----
Set http = CreateObject("microsoft.xmlhttp")
testfile = http://www.myserver.com/index.asp?product=55
http.Open "Post", testfile,False
testit2 = http.Send()
testit = http.responsetext
Set fs = CreateObject("Scripting.FileSystemObject")
Set a = fs.CreateTextFile("testfile.html, True)
a.write (testit)