Hi All,
Im using JScript5.5 serverside (ASP). I want to recieve a binary stream
from a form and operate on the binary data. From what ive seen this is a
breeze in VBS, but Js gives me some preoblems. Has any of you experiance
with this, or can any of you point me in the right direction.
I want to recieve a form (enctype="multipart/form-data")
In ASP is say something like:
var binForm = Request.BinaryRead(Request.Form().TotalBytes)
Now when i Response.Write(binForm) (or Response.BinaryWrite)
i get en error: An exception occurred.
Or output like: binForm is not a sting (hell its not ;-)
or: An unhandled data type was encountered
When i do typeof(binForm) it returns 'unknown' as datatype.
What i want to do it be able to recieve binary data (unicode) in write it
to file in its pure form.
Any comments on operation on binary files are most welcome!
Kind regards, Johannes