I'm trying make a simple project, with the objective of making download of a file from an FTP Server trough a GSM/GPRS modem and save that file on an SD Card.
For the GSM/GRPS Modem: LoNet - GSM/GPRS Breakout, and for the SD Card: Adafruit MicroSD card breakout board+.
For communication Serial/SoftSerial with the GSM/GPRS modem it is done through the AT commands.
My big doubt is how to save this file downloaded from the FTP Server to the SD Card.
How to save the content obtained by the command AT+FTPGET=2,1024 and record it as a file on the SD card.
All the examples I have seen is using the Ethernet Shield that contains a slot for SD CARD.
In that code, Sim800Reply() is called after each send of a command to the GSM. You need to modify that function to perform differently when the reply is the FTP of data from the server. When it is, you need to save the data to a file.