I'm trying for the first time to use the HTTP library - but I'm struggling even with the example. We have some logging devices that present the most simplistic Web Page to the user; a blank page with a few links for the date/time of the log and the log is just a text file. So for example you click a 'Files' link, click '20100118' and finally right-click '1000.txt' to download the 10:00 file for today. The user has to first log in at the message box dialog.
I'm falling at the first hurdle because when I use:
it fails with:
Response.Value=Request.GetResponse
Error description:
Response code: -1
ServerProtocolViolation
New3 should be used with web pages that show a message box that asks for username and password.
I'm falling at the first hurdle because when I use:
B4X:
Request.New3("http://10.0.1.1/Files","user","user")
Request.Timeout=60000
Response.Value=Request.GetResponse
it fails with:
Response.Value=Request.GetResponse
Error description:
Response code: -1
ServerProtocolViolation