I’d like to send a image (~1Mo) to a server. The image is taken from the camera plugged on the Arduino, stored in a SD card, and sent through GPRS with the SIM800l.
At this time, I’ve managed to send small contents like text messages to a FTP server (a Raspberry). I use the AT commands and especially AT+FTPPUT. Apparently the maximum buffer is 1360: The problem comes when it goes to bigger files, such as images…
Does anyone knows a good idea to go through this problem ? I was thinking of :
- split images in parts, then send each part and merge it
- use a different protocol such as HTTP ?
- maybe then problem comes from my FTP server ?