Hi,
I'm updating some ASP and am trying to figure out what the code does now, and I'm stuck!
The file handles downloads.
The following code I'm not quite sure about:
set ebsReader = Server.CreateObject("EBSReader.ReadBinary"
binaryStream = ebsReader.ReadBinaryFile(filePath)
Response.BinaryWrite(binaryStream)
This is my idea, correct me as appropriate!
It's setting the value of variable "ebsReader" to a Server Object called "EBSReader" but I don't understand the ".ReadBinary". Is this a method?
It's then making the value of "binaryStream" equal to the "ebsreader.ReadBinaryFile" with the variable "filePath" as the data for this method.
It's then writing this out as a binary stream to stop any character conversion.
Thanks in advance!
Timbo
I'm updating some ASP and am trying to figure out what the code does now, and I'm stuck!
The file handles downloads.
The following code I'm not quite sure about:
set ebsReader = Server.CreateObject("EBSReader.ReadBinary"
binaryStream = ebsReader.ReadBinaryFile(filePath)
Response.BinaryWrite(binaryStream)
This is my idea, correct me as appropriate!
It's setting the value of variable "ebsReader" to a Server Object called "EBSReader" but I don't understand the ".ReadBinary". Is this a method?
It's then making the value of "binaryStream" equal to the "ebsreader.ReadBinaryFile" with the variable "filePath" as the data for this method.
It's then writing this out as a binary stream to stop any character conversion.
Thanks in advance!
Timbo