IF thisform.ws.object.State<>0 thisform.ws.object.Close ENDIF thisform.ws.object.connect("www.mysite.com",80)And on the WS object's DataArrival method, I have the following code
LPARAMETERS bytestotal LOCAL strData as String strData = "" && Define string to pass to GetData This.Object.GetData(@strData) ThisForm.edit1.Value = strDataI think I should have the following code, but it doesn't work, I receive in my strData string a message that tell me the command is not understood by the server
thisform.ws.sendData("GET http://www.mysite.com/index.html"+chr(13))