Using Binary Streams

Results 1 to 4 of 4

Thread: Using Binary Streams

  1. #1
    John Harvey Guest

    Default Using Binary Streams

    Hi,<BR>I&#039d like to know if there is a way to open a file using the fileSystemObject (or some other object) to open a file as a binary stream. I can open them as text streams, but I want to be able to open a JPEG (for example) and write the file as a binary stream. This way I could have an ASP return an image without having the image in a web directory. The Response.BinaryWrite method should be able to write the stream, but I am unable to open the file as anything but a textstream.<BR>Any suggestions would be nice.<BR>Thanks,<BR>John

  2. #2
    ian Stallings Guest

    Default RE: Using Binary Streams

    I don&#039t think this is possible using the built in<BR>objects. I recommend using SA-Filemanager (which is free)<BR>to do binary read/writes. You can download it from<BR><BR><BR>hope this helps

  3. #3
    John Harvey Guest

    Default Thanks

    Thnaks. I&#039ll try that, in the mean time I think I&#039ve worked around it by putting the binary images into a database and I&#039m going to try writing them from there. <BR>Thanks Again,<BR>John

  4. #4
    Join Date
    Dec 1969

    Default RE: Thanks

    No problem. I&#039ve seen the images in DB work.

Posting Permissions

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