WEll I'm half way there. I figured out how to create a File object and use the .OpenTextAsStream() to either read, write, or append (mutually exclusive but oh well).
The syntax is:
object.OpenAsTextStream([iomode, [format]])
iomode is read/write/append. But I'm not sure how to set the format parameter?
language ref describes the format attribute as:
Optional. One of three Tristate values used to indicate the format of the opened file. If omitted, the file is opened as ASCII. My choices are:
TristateUseDefault - Opens the file using the system default.
TristateTrue - Opens the file as Unicode
TristateFalse - Opens the file as ASCII
Would it better to open an *.html file as UseDefault or ASCII? (server side scipt)
Roxanne M. Seibert
Independent Consultant, VFP MCP
Code Monkey Like Fritos