How can I send binary data with the send
method?
Apparently it treats the data as a string and it stops when it encounters a NULL
character, which is legal in binary data. And ultimately not all the data get sent. If so, how can I set the size of the data to be sent then?
Set oHTTP = Createobject( "WinHttp.WinHttpRequest.5.1" )
oHTTP.Open "PUT", myURL, False
oHTTP.Send binaryData
Suppose binaryData is read from a file for example, and it's size is binaryDataSize
bytes.