Sending generated Office documents without saving them to disk

Discussion in 'ASP .Net' started by Mladen Jablanovic via .NET 247, May 7, 2004.

  1. I am creating dynamically some Office documents in my ASP.NET application. When I want to send the resulting document to the client, I am currently saving it to the local disk and then redirecting user's browser to it.
    Is there any way to skip this saving phase, i.e. to send the document directly from memory?

    -----------------------
    Posted by a user from .NET 247 (http://www.dotnet247.com/)

    <Id>BN9dKSONYEqICf01CWVYzA==</Id>
     
    Mladen Jablanovic via .NET 247, May 7, 2004
    #1
    1. Advertising

  2. Mladen Jablanovic via .NET 247

    avnrao Guest

    you can use Response.Write.
    Set the Response.ContentType to the respective office doc type.

    Av.

    "Mladen Jablanovic via .NET 247" <> wrote in message
    news:...
    >I am creating dynamically some Office documents in my ASP.NET application.
    >When I want to send the resulting document to the client, I am currently
    >saving it to the local disk and then redirecting user's browser to it.
    > Is there any way to skip this saving phase, i.e. to send the document
    > directly from memory?
    >
    > -----------------------
    > Posted by a user from .NET 247 (http://www.dotnet247.com/)
    >
    > <Id>BN9dKSONYEqICf01CWVYzA==</Id>
     
    avnrao, May 7, 2004
    #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. Lee Harris
    Replies:
    0
    Views:
    403
    Lee Harris
    Jul 8, 2003
  2. Espen Evje
    Replies:
    1
    Views:
    404
    Espen Evje
    Jul 11, 2003
  3. Yoramo
    Replies:
    5
    Views:
    359
    Kevin Spencer
    Feb 25, 2004
  4. =?Utf-8?B?S2FubmFuLlYgW01DU0QubmV0XQ==?=

    Printing PDF documents without actually opening them.....

    =?Utf-8?B?S2FubmFuLlYgW01DU0QubmV0XQ==?=, Apr 26, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    864
    Kevin Spencer
    Apr 26, 2005
  5. Stan Accrington
    Replies:
    1
    Views:
    985
    Michael Borgwardt
    May 13, 2004
Loading...

Share This Page