Read an Input File, Parse It, and Create an Output File with Desired Contents (ASP)

Category:
ASP, HTML and XML
Type:
Snippets
Difficulty:
Intermediate
Author:
Rob Callicotte

Version Compatibility: ASP

More information:
This is part of a larger program utilized where I work to test the speed of the routers/servers utilizing PING each time the client logged onto our system. Though you won't use this script exactly as written, it is good for illustrative purposes: It shows you how to open a file for input, parse it for information of interest, and write that information to an output file.

See the README for more information; the script explains what it is doing as it runs.


Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download write_it.zip