MHTML, MHT Web Archives Streaming via ASP or CGI

Discussion in 'ASP General' started by k mcnamee, Oct 16, 2003.

  1. k mcnamee

    k mcnamee Guest

    Hi,

    We are using ASP pages and the response object in conjunction with the
    binarywrite method and a custom com dll in order to stream files back to
    users. All works fine, except mhtml web archives(*.mht or *.mhtml files) .
    When we stream an mhtml web archive back to the user we see the actual file
    inside the browser window and not the web archive document the way it should
    be displayed. We are setting the content type property to message/rfc822
    for mhtml files. We also set the content-disposition header ( like this
    content-disposition: filename=mytest.mht ) This file opens up fine if we
    place a direct link to the file, however exposing a directory of files is
    not an option available to us. We have also created a cgi in c that does
    the same thing as the ASP however to no avail we still get the actual
    contents of the file and not the mhtml document. This happens on both IIS 5
    and 6. Any suggestions???

    Thanks
    Ken
     
    k mcnamee, Oct 16, 2003
    #1
    1. Advertisements

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. Stream mhtml to browser

    , Dec 15, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    635
  2. =?Utf-8?B?TUVSNzg=?=

    MHTML Streaming

    =?Utf-8?B?TUVSNzg=?=, Feb 24, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    3,189
    jgoodale
    Feb 6, 2006
  3. Peter Rilling
    Replies:
    0
    Views:
    521
    Peter Rilling
    Feb 9, 2006
  4. Qu0ll
    Replies:
    5
    Views:
    3,460
    Qu0ll
    Jul 9, 2009
  5. Jason von Bartheld

    Emitting mhtml to browser with ASP.NET

    Jason von Bartheld, May 26, 2004, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    443
    Jason von Bartheld
    May 26, 2004
  6. Olaf

    Include mht in asp

    Olaf, Jun 14, 2005, in forum: ASP General
    Replies:
    2
    Views:
    278
    Mark Schupp
    Jun 15, 2005
  7. Robert
    Replies:
    1
    Views:
    292
    A. Sinan Unur
    Feb 15, 2006
  8. David Karr
    Replies:
    2
    Views:
    622
    J. Gleixner
    Jun 1, 2012
Loading...