Does you get a sensible speed if you use
fgets( cpReadString, 100, fStream )If so then do repeated calls to fgets until you've download the entire file. For a large file this is the normal approach, though I agree that for only 6144 bytes you should be able to read this all at once. Are you accessing across a network?