Hi,I am sending binary data from VB to ASP through HttpSendRequest API.I am getting size of file on ASP(using Request.TotalBytes),which I am sending.Now I want to write it on specific path on server.I tried BinaryRead n BinaryWrite method in ASP,but unable to write.Should I use Binary access method,or anything else?plz suggest me.
I am posting what I have done:
- Dim BinRead
-
Dim BinWrite
-
BinRead=Request.BinaryRead(Request.TotalBytes)
-
BinWrite=Request.BinaryWrite(BinRead)
-
I am not getting what BinWrite should return(It's content of file or anything else?).