Having some problem with the BinaryWrite method!!!!!! Posted: 20 Dec 2002
Hi!!!!
I tried out the script....it works perfectly fine but, when i try to use the same with one of my ASP files it does not display the image instead displays some wild characters... :(
There is no problem with writing the image in the database. I guess writing it back from the database is what is creating problem. Are there some conditions that have to be taken care while using Binarywrite method...
See the code in file.asp properly. You can use Response.BinaryWrite only to send a single file content to the client and also need to setup the Content-Type header properly as well.
Having some problem with the BinaryWrite method!!!!!! Posted: 1 Feb 2003
Hi.
I am having the same problem as you were originally but even with the answer you found to work mine is not working. Can you send me the code that works for you. I must be missing something.