tIpClientHttp bug
Posted: Thu Nov 03, 2016 5:38 pm
Hi all,
I noted a problem downloading a text file through tipclienthttp oHttp:Readall:
it is a 200 rows text file and some rows contains spur characters but only on Windows XP,Vista, 7, all is right on Windows 8/10.
Is there something wrong on my code or do I have to upgrade my xharbour libs ?
I'm using xHarbour with FWH Sept 2015 and BCC7.0
oUrl := TURL():New( "my http url")
oHttp:= TIpClientHttp():new( oUrl, .f. )
IF .NOT. oHttp:open()
? "Connection error:", oHttp:lastErrorMessage()
QUIT
ENDIF
cHtml := oHttp:readAll() && cHtml contains spur characters
oHttp:close()
Thank you in advance
I noted a problem downloading a text file through tipclienthttp oHttp:Readall:
it is a 200 rows text file and some rows contains spur characters but only on Windows XP,Vista, 7, all is right on Windows 8/10.
Is there something wrong on my code or do I have to upgrade my xharbour libs ?
I'm using xHarbour with FWH Sept 2015 and BCC7.0
oUrl := TURL():New( "my http url")
oHttp:= TIpClientHttp():new( oUrl, .f. )
IF .NOT. oHttp:open()
? "Connection error:", oHttp:lastErrorMessage()
QUIT
ENDIF
cHtml := oHttp:readAll() && cHtml contains spur characters
oHttp:close()
Thank you in advance