Jack Duijf

Hello,
Until now i do a post using xbForm(). The post is to a ASP server Now the size of the parameter "filecontents" exeeds some limitations. I receive server error 500.
Is there a way to put the "filecontents" into the body of the post ?
Regards,
Jack Duijf
LOCAL oForm := xbForm():new()
oRequest := xbHTTPRequest():new(::oSock)
oResponse := xbHTTPResponse():new(::oSock)
::cLastReply := ""
// now we need to format the HTTP request
oRequest:Command := "POST"
oRequest:HTTPVersion := "1.0"
oRequest:KeepAlive(TRUE)
oRequest:Host(::cHost + ":" + NTrim(::nPort))
oRequest:Path(cPath)
//
// Invullen HTTP post parameters voor VB
//
oForm:SetVar("u" ,::cUser) oForm:SetVar("p" ,::cPaswd)
oForm:SetVar("actie" ,::cActie)
oForm:SetVar("filecontents" ,cData)
oRequest:Content := oForm if !(oRequest:send() == SOCKET_ERROR)
if !oResponse:Recv()
...
endif
endif