webserver --How to do server.write() for 65KB file?

Webserver, Sketch I am using is attached, file only reads part of the SD datafile, then dumps file on browser page; instead of notepad. Each line is about 93 characters long and uses UTF-8 encoding.

Does anyone know of away to do this or an example?

Sketch is for a Digistump Digix development board (Arduino compatiable.)
http://digistump.com/wiki/digix/overview

Wm.

Packect_Digix_weatherdatalogger_dwn.ino (15.6 KB)

log.txt (64.6 KB)