Unable to read text file from server
Its working as long as the connection doesn't break or the server doesn't stall. We must wait till the response .  

while (client.connected()) 
{   
 while(client.available()) 
 {    
 char ch = client.read();
 Serial.print(ch);   
 }
} 
 client.stop();