Redirect HTML Output to File?

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Redirect HTML Output to File?



    I am generating some nested DataLists, but instead of displaying them on
    the client browser, I want to save the output HTML stream to an on-disk
    file in %temp%.

    What is the best way to do that?

    Thanks.

    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    sc Guest

  2. Similar Questions and Discussions

    1. redirect output to a file
      Hi everybody I was wondering I've made a little script to make the 'w'-command a bit nicer to work with.. ---~/bin/w--- #/bin/bash cd w -sh...
    2. Redirect output of command to a list
      Hi all, I have been doing redirect the output of command (an external tool, exe) to a file, by doing following: system( "tool.exe...
    3. can't redirect output to a file?!
      i wrote a simple program that read data from STDIN but redirected in a pipe from a file parse it and wrote output to STDOUT,here is the code: ...
    4. Dump Html file as output from CGI script
      Dan Muey wrote: Hi Dan, I don't think that is actually what he is asking for.Unless I misunderstand, he is referring to a pass-through...
    5. Parse HTML file, output to csv file
      Message-ID: <2d0bce63.0307041035.78a2bd75@posting.google.com> from riddlermarc contained the following: If you only want to do this...
  3. #2

    Default Re: Redirect HTML Output to File?

    Response.WriteFile()

    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    ..Net Developer
    [url]http://www.takempis.com[/url]
    Big things are made up of
    lots of little things.

    "sc" <ddvsv12@ddvsv12.net> wrote in message
    news:uHjmw1tSDHA.1912@TK2MSFTNGP12.phx.gbl...
    >
    >
    > I am generating some nested DataLists, but instead of displaying them on
    > the client browser, I want to save the output HTML stream to an on-disk
    > file in %temp%.
    >
    > What is the best way to do that?
    >
    > Thanks.
    >
    > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > Don't just participate in USENET...get rewarded for it!

    Kevin Spencer Guest

  4. #3

    Default Re: Redirect HTML Output to File?

    Response.Write brings a file INTO the HTML output stream. I think the author wants to do the opposite: have the HTML output go to the file instead of (or in addition to) the browser. It would sort of be like doing a browser "Save As HTML" at the server side via programming instead of mousing menus.
    Unregistered Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139