Chances are slim but there is a possibility your data is getting cut-off as you read chunks from the socket into your buffer. This would cause an issue if the break is in the middle of the string you are searching for. You should download the file (using an HTTP include), and then scan the file for the data you want. Or, if this file is not huge, make your buffer bigger and read everything into the buffer, concatenating the data with each socket_read().
To see if this is the case, print the data into the console as it comes in to see if it's all in one piece:
Code:
socket_recv ( Socket, DataRecived, charsmax ( DataRecived ) );
server_print( "Data [%s]" , DataRecived )
__________________