Hi Chris,
I am downloading an exe file into my PPC from a web server
using sockets. In socket.send(Encoding.ASCII.GetBytes(myQueryString))
method, myQueryString is the following.
"GET http://172.16.3.109/SGIPPM-HH-LiveUpdate/VersionInfo.EXE HTTP/1.0
Accept: */*
User-Agent: myusername
Host: 172.16.3.109
Authorization: Basic myusername:mypassword
Pragma: no-cache
Cache-Control: no-cache
"
My web server security is "basic authentication"
Its giving "not autorized" error.
My doubt is something is wrong with "Authorization" statement. I tried
converting username and pasword to a base64 string also, that too
doesn't work.
It works fine with unanimous access on server and with query string
without "Authorization" statement
Thanks
Basha.