I’m downloadings files form an hhtt page using HTTPSocket.Get in syncronous mode. some of then are text, another bin.
When I open the downladed file with an hex editor allways appears an extra line (2 to 4 hex chars) and a crlf(x0D x0A) at the beggining of the file tha wasn’t in the original file.
Any suggestions?
below, I put the lines getting the file
newSocket=new HTTPSocket
f=new FolderItem(CurLDir+"\" + ItemL(i))
if newSocket.get(curdir+ItemL(i),f,5) then
Below is shown diference betwen downloaded and original file (1000 crlf is added to downloaded)