I am having trouble serving more than the index file from SD card on a w5100

The code I posted in reply #1 has all that stuff. It closes the connection, and allows for downloads of both those file types, plus many more, like gif, jpg and ico files.