OutputStream to file (or string...)

Discussion in 'ASP .Net' started by jose, Jul 17, 2009.

  1. jose

    jose Guest

    how can I save the Response.OutputStream into a physical file?
    jose, Jul 17, 2009
    #1
    1. Advertising

  2. On Jul 17, 9:43 pm, jose <> wrote:
    > how can I save the Response.OutputStream into a physical file?


    What about System.IO.StreamWriter?

    StreamWriter f = new StreamWriter(fileName);
    f = new System.IO.StreamWriter(response.OutputStream);
    Alexey Smirnov, Jul 20, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. brrrdog
    Replies:
    0
    Views:
    829
    brrrdog
    Jul 9, 2003
  2. Jenny

    Response.OutputStream

    Jenny, Aug 4, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    9,443
    vMike
    Aug 4, 2003
  3. mboyda
    Replies:
    2
    Views:
    10,969
    Richard K Bethell
    Dec 19, 2003
  4. Steve Jasper
    Replies:
    5
    Views:
    13,083
    soft-eng
    Oct 22, 2003
  5. Replies:
    2
    Views:
    3,597
Loading...

Share This Page