ASP OpenTextFile
There are three ways you can open a text file using the OpenTextFile method of the FileSystemObject:
ForReading
ForWriting
ForAppending
There is also an optional overwrite variable (Boolean, so true allows overwrites, false doesn't)
There's also an option to specify the format for the file:
0 : TristateFalse - Open the file as ASCII. This is default.
-1 : TristateTrue - Open the file as Unicode.
-2 : TristateUseDefault - Open the file using the system default.
As an example, here's how we open a file to append:
|
Useful Links

|
|