Code to accompany the Adafruit tutorial: https://learn.adafruit.com/arduino-ethernet-sd-card
See the tutorial for details.
All code MIT License, please keep attribution
Please consider buying your parts at Adafruit.com to support open source code.