Hello, I have two arduino's both with an sd shield and xbees. I am trying to transfer a txt file from one arduino to the other. How would I go about doing this?
Read the file, one character at a time. Serial.print() to the other device.
On that one, read the serial data, one character at a time, and write it to the file.
The fact that there are XBees in place of wires is completely irrelevant.
As well as sending the data, you probably also need a way to inform the receiver when the transfer has started and ended. Depending on your design, you may need additional info such as the file name or path.