Outputting a binary file

Results 1 to 2 of 2

Thread: Outputting a binary file

  1. #1
    Gaddo Guest

    Default Outputting a binary file

    I&#039m trying to output a binary file (with correct content type) from an ASP script. However, the binary stream includes Chr(0)&#039s, so while I can read the entire file (character by character), I can&#039t response.write chr(0).<BR><BR>Is there a way around this?

  2. #2
    Join Date
    Dec 1969

    Default RE: Outputting a binary file

    What type of binary file are you trying to send to the client? Have you tried the BinaryWrite method of the Response object?<BR><BR>Response.BinaryWrite BINARYDATA<BR><BR>???<BR><BR>Happy Programming!

Posting Permissions

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