I'm able to upload a file from my SD datalogger to my FTP server using a SIM900 shield with some code I found after searching for quite a while (not having any knowledge on programming I'm dependent on what I find online for now.)
I have been searching for code to do the reverse, to download a file using FTPGET and write the data into a file on my SD card, but the right stuff is eluding me...
Any pointers in the right direction will be much appreciated.
The code I use for uploading:
mySerial.println("AT+FTPPUT=2,1024");
delay(1000);
ShowSerialData();
myFile = SD.open("ooie.txt");
while (myFile.available()) {
mySerial.write(myFile.read()); }