|
|
|
|
|
| | |
|
Active Server Pages asp search engine active server page asp application components tutorial CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: Problem with response.addheader |
From: |
Brian Alderson |
Date: |
9/25/1999 6:00:11 PM |
IP: |
195.44.205.246 |
If you want to write a file to disk use the FileSytem Object.
1. Collect data into variable
2. create a file system object for writing
3. write file to disk
The_Data = ***Your Data ***
### WRITE COPY OF THE FILE TO THE TEMP DIRECTORY ON LOCAL DRIVE #####
File_To_Write_To = Server.MapPath("/temp")+"\temp_page.htm"
Set File_System_Object = Server.CreateObject("Scripting.FileSystemObject")
Set Output_Stream = File_System_Object.CreateTextFile (File_To_Write_To, TRUE, False )
Output_Stream.Write(The_Data)
set File_System_Object = nothing
HTH
Brian
|
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|