I am trying to manage a text file, but cannot read the
file properly (nothing displays) and rewriting the data
seems to only affect the buffer and not the text itself.
Can anyone point out what's wrong?
The following is the code. Also, objStream.Close causes
error:
Provider error '80004005'
Unspecified error

I appreciate your help.

Ken

Dim objStream, objRecord, strURLofFile, strText
strURLofFile = "http://****.com/simpletext.txt"
Set objStream = Server.CreateObject("ADODB.Stream")
objStream.Open "URL=" & strURLofFile, adModeReadWrite,
8 'adOpenStreamFromURL
objStream.Charset = "ascii"
strText = objStream.ReadText
Response.Write "strText=" & strText
objStream.Position = 0
objStream.SetEOS
objStream.WriteText ("add this line" + vbcrlf + strText)
objStream.Close
set objStream = Nothing