View Full Version : dynamically saving html files on server

09-12-2007, 02:21 AM
hi all,

I need to implement the following functionality in asp.
I have got an asp page which renders some html onto the browser.Now instead of rendering the html to the browser i should save that as an html file in server itself. Please advise how i can accomplish this.

Thanks for help!!

09-12-2007, 05:03 AM
Write all the output to a string instead of the response stream.
Use FileSystemObject to write the string to the file.

You may need to play with permissions on the directory and file for the user that ASP runs as on that box.